mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-04 01:09:36 +02:00
add support for proxy protocol on HTTP listener (#1777)
* add support for proxy protocol on HTTP listener * rename option, add doc
This commit is contained in:
parent
10912add67
commit
09747aa3ba
5 changed files with 75 additions and 12 deletions
|
@ -262,6 +262,9 @@ type Options struct {
|
|||
// If unset, the GCP metadata server will be used to query for identity tokens.
|
||||
GoogleCloudServerlessAuthenticationServiceAccount string `mapstructure:"google_cloud_serverless_authentication_service_account" yaml:"google_cloud_serverless_authentication_service_account,omitempty"` //nolint
|
||||
|
||||
// UseProxyProtocol configures the HTTP listener to require the HAProxy proxy protocol (either v1 or v2) on incoming requests.
|
||||
UseProxyProtocol bool `mapstructure:"require_proxy_protocol" yaml:"require_proxy_protocol,omitempty" json:"require_proxy_protocol,omitempty"`
|
||||
|
||||
viper *viper.Viper
|
||||
|
||||
AutocertOptions `mapstructure:",squash" yaml:",inline"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue