Changes property to spring.cloud.gateway.forwarded.by.enabled
Defaults to false. See gh-2658
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
== Forwarded Headers Filter
|
||||
The `Forwarded` Headers Filter creates a `Forwarded` header to send to the downstream service. It adds the `Host` header, scheme and port of the current request to any existing `Forwarded` header.
|
||||
|
||||
The `Forwarded by` header part can be enabled by setting the following property to true (defaults to false):
|
||||
|
||||
- `spring.cloud.gateway.forwarded.by.enabled=true`
|
||||
|
||||
[[removehopbyhop-headers-filter]]
|
||||
== RemoveHopByHop Headers Filter
|
||||
The `RemoveHopByHop` Headers Filter removes headers from forwarded requests. The default list of headers that is removed comes from the https://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-14#section-7.1.3[IETF].
|
||||
|
||||
Reference in New Issue
Block a user