diff --git a/modules/nw-route-specific-annotations.adoc b/modules/nw-route-specific-annotations.adoc index 3f14866e0a..40887bf84f 100644 --- a/modules/nw-route-specific-annotations.adoc +++ b/modules/nw-route-specific-annotations.adoc @@ -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]