Merge pull request #30461 from dalbani

* gh-30461:
  Polish "Refer to list of internal proxies in reference documentation"
  Refer to list of internal proxies in reference documentation

Closes gh-30461
This commit is contained in:
Andy Wilkinson 2022-04-05 15:10:48 +01:00
commit bc81ae81fc

View File

@ -451,8 +451,8 @@ If you use Tomcat, you can additionally configure the names of the headers used
protocol-header: "x-your-protocol-header"
----
Tomcat is also configured with a default 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.
Tomcat is also configured with a regular expression that matches internal proxies that are to be 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:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]