X-Forwarded-For HTTP Header
Summary
X-Forwarded-For HTTP Header indicates the IP addresses that a request has flowed through on its way from the client to the server.
Do not append proxy IP addresses to the x-forwarded-for
HTTP header. See the Envoy docs for more information.
How to configure
- Core
- Enterprise
- Kubernetes
Config file keys | Environment variables | Type | Default |
---|---|---|---|
skip_xff_append | SKIP_XFF_APPEND | boolean | false |
Configure X-Forward-For HTTP Headers with the toggle button in the Console. The button has three states:
- Unset ("-") uses the value in your configuration file
- Checkmark sets
skip_xff_append
totrue
- Empty sets
skip_xff_append
tofalse
Kubernetes does not support skip_xff_append
Examples
# config file key
skip_xff_append: true
# environment variable
SKIP_XFF_APPEND=true