Skip to content

Commit bc81ae8

Browse files
committed
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
2 parents 18c62e2 + 83cfc95 commit bc81ae8

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@ If you use Tomcat, you can additionally configure the names of the headers used
451451
protocol-header: "x-your-protocol-header"
452452
----
453453

454-
Tomcat is also configured with a default regular expression that matches internal proxies that are to be trusted.
455-
By default, IP addresses in `10/8`, `192.168/16`, `169.254/16` and `127/8` are trusted.
454+
Tomcat is also configured with a regular expression that matches internal proxies that are to be trusted.
455+
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.
456456
You can customize the valve's configuration by adding an entry to `application.properties`, as shown in the following example:
457457

458458
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]

0 commit comments

Comments
 (0)