Skip to content

Commit 8349148

Browse files
committed
Remove details of how to switch off RemoteIpValve: it's off by default
See spring-projectsgh-1631
1 parent c3d1241 commit 8349148

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -500,14 +500,6 @@ to `application.properties`, e.g.
500500
Alternatively, you can take complete control of the configuration of the `RemoteIpValve`
501501
by configuring and adding it in a `TomcatEmbeddedServletContainerFactory` bean.
502502

503-
Lastly, you can switch off the valve by adding some entries to `application.properties`:
504-
505-
[indent=0]
506-
----
507-
server.tomcat.remote_ip_header=
508-
server.tomcat.protocol_header=
509-
----
510-
511503

512504

513505
[[howto-use-jetty-instead-of-tomcat]]

0 commit comments

Comments
 (0)