From 91306b58d526eb8f1c7702253fe5e89c3999e360 Mon Sep 17 00:00:00 2001 From: Damiano Albani Date: Sun, 3 Apr 2022 21:14:17 +0200 Subject: [PATCH] Refer to list of internal proxies in reference documentation See gh-30461 --- .../spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc index e5465b0515..50eb70777d 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc @@ -452,7 +452,7 @@ If you use Tomcat, you can additionally configure the names of the headers used ---- 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. +See the `server.tomcat.remoteip.internal-proxies` property in section <> for more details. 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]