mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
GitHub issue#31057 add haproxy.router.openshift.io/set-forwarded-headers to annotation table
This commit is contained in:
@@ -41,6 +41,17 @@ and "-". The default is the hashed internal key name for the route. |
|
||||
`None`: cookies are restricted to the visited site.
|
||||
|
||||
This value is applicable to re-encrypt and edge routes only. For more information, see the link:https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite[SameSite cookies documentation].|
|
||||
|
||||
|`haproxy.router.openshift.io/set-forwarded-headers` | Sets the policy for handling the `Forwarded` and `X-Forwarded-For` HTTP headers per route. The values are:
|
||||
|
||||
`append`: appends the header, preserving any existing header. This is the default value.
|
||||
|
||||
`replace`: sets the header, removing any existing header.
|
||||
|
||||
`never`: never sets the header, but preserves any existing header.
|
||||
|
||||
`if-none`: sets the header if it is not already set.| `ROUTER_SET_FORWARDED_HEADERS`
|
||||
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
|
||||
Reference in New Issue
Block a user