mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
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:
commit
bc81ae81fc
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user