Browse Source

Merge branch '2.5.x' into 2.6.x

Closes gh-30544
pull/30562/head
Andy Wilkinson 4 years ago
parent
commit
05d4093381
  1. 4
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc

4
spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc

@ -452,8 +452,8 @@ If you use Tomcat, you can additionally configure the names of the headers used @@ -452,8 +452,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…
Cancel
Save