github.com/hellofresh/janus@v0.0.0-20230925145208-ce8de8183c67/docs/config/proxy.md (about) 1 # Proxy configuration 2 3 | Configuration | Description | 4 |-----------------------|----------------------------------------------------------------------------------------| 5 | preserve_hosts | Enable the [preserve host](/docs/proxy/preserve_host_property.md) definition | 6 | listen_path | Defines the [endpoint](/docs/proxy/request_uri.md) that will be exposed in Janus | 7 | upstreams | Defines the [endpoints](/docs/proxy/upstreams.md) that the request will be forwarded to| 8 | strip_path | Enable the [strip URI](/docs/proxy/strip_uri_property.md) rule on this proxy | 9 | methods | Defines which [methods](/docs/proxy/request_http_method.md) are enabled for this proxy | 10 | hosts | Defines which [hosts](/docs/proxy/request_http_header.md) are enabled for this proxy | 11 | forwarding_timeouts.dial_timeout | The amount of time to wait until a connection to a backend server can be established. Defaults to 30 seconds. If zero, no timeout exists. You must use any format that is compatible with [time.Duration](https://golang.org/pkg/time/#Duration) | 12 | forwarding_timeouts.response_header_timeout | The amount of time to wait for a server's response headers after fully writing the request (including its body, if any). If zero, no timeout exists. You must use any format that is compatible with [time.Duration](https://golang.org/pkg/time/#Duration) |