mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-05 20:32:57 +02:00
new skip_xff_append option (#1788)
Added `skip_xff_append` configuration option. When set, proxy would not append it's IP address to `x-forwarded-for` HTTP header.
This commit is contained in:
parent
d9699cbcb9
commit
c6b6141d12
7 changed files with 136 additions and 93 deletions
|
@ -846,6 +846,15 @@ Secure service communication can fail if the external certificate does not match
|
|||
Refresh cooldown is the minimum amount of time between allowed manually refreshed sessions.
|
||||
|
||||
|
||||
### X-Forwarded-For HTTP Header
|
||||
- Environmental Variable: `SKIP_XFF_APPEND`
|
||||
- Config File Key: `skip_xff_append`
|
||||
- Type: `bool`
|
||||
- Default: `false`
|
||||
|
||||
Do not append proxy IP address to `x-forwarded-for` HTTP header. See [Envoy](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_conn_man/headers.html?highlight=skip_xff_append#x-forwarded-for) docs for more detail.
|
||||
|
||||
|
||||
## Cache Service
|
||||
The cache service is used for storing user session data.
|
||||
|
||||
|
|
|
@ -956,6 +956,17 @@ settings:
|
|||
Refresh cooldown is the minimum amount of time between allowed manually refreshed sessions.
|
||||
shortdoc: |
|
||||
Refresh cooldown is the minimum amount of time between allowed manually refreshed sessions.
|
||||
- name: "X-Forwarded-For HTTP Header"
|
||||
keys: ["skip_xff_append"]
|
||||
attributes: |
|
||||
- Environmental Variable: `SKIP_XFF_APPEND`
|
||||
- Config File Key: `skip_xff_append`
|
||||
- Type: `bool`
|
||||
- Default: `false`
|
||||
doc: |
|
||||
Do not append proxy IP address to `x-forwarded-for` HTTP header. See [Envoy](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_conn_man/headers.html?highlight=skip_xff_append#x-forwarded-for) docs for more detail.
|
||||
shortdoc: |
|
||||
Do not append proxy IP address to [x-forwarded-for](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_conn_man/headers.html?highlight=skip_xff_append#x-forwarded-for).
|
||||
- name: "Cache Service"
|
||||
doc: |
|
||||
The cache service is used for storing user session data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue