We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc55783 commit 2b4eee5Copy full SHA for 2b4eee5
spring-boot-docs/src/main/asciidoc/howto.adoc
@@ -496,6 +496,10 @@ to `application.properties`, e.g.
496
server.tomcat.internal_proxies=192\\.168\\.\\d{1,3}\\.\\d{1,3}
497
----
498
499
+NOTE: The double backslashes are only required when you're using a properties file for
500
+configuration. If you are using YAML, single backslashes are sufficient and a value
501
+that's equivalent to the one shown above would be `192\.168\.\d{1,3}\.\d{1,3}`.
502
+
503
Alternatively, you can take complete control of the configuration of the `RemoteIpValve`
504
by configuring and adding it in a `TomcatEmbeddedServletContainerFactory` bean.
505
0 commit comments