Merge branch '2.6.x' into 2.7.x

Closes gh-30545
pull/30641/head
Andy Wilkinson 3 years ago
commit ffc0fafe1a

@ -443,8 +443,8 @@ If you use Tomcat, you can additionally configure the names of the headers used
protocol-header: "x-your-protocol-header" protocol-header: "x-your-protocol-header"
---- ----
Tomcat is also configured with a default regular expression that matches internal proxies that are to be trusted. Tomcat is also configured with a regular expression that matches internal proxies that are to be trusted.
By default, IP addresses in `10/8`, `192.168/16`, `169.254/16` and `127/8` are trusted. See the <<application-properties.adoc#application-properties.server.server.tomcat.remoteip.internal-proxies,configprop:server.tomcat.remoteip.internal-proxies[] entry in the appendix>> for its default value.
You can customize the valve's configuration by adding an entry to `application.properties`, as shown in the following example: You can customize the valve's configuration by adding an entry to `application.properties`, as shown in the following example:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks] [source,yaml,indent=0,subs="verbatim",configprops,configblocks]

Loading…
Cancel
Save