Skip to content

Commit 899537d

Browse files
committed
Use dashed property form in documentation
1 parent 8e0e825 commit 899537d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -563,17 +563,17 @@ them unless you need different values:
563563

564564
[indent=0]
565565
----
566-
server.tomcat.remote_ip_header=x-forwarded-for
567-
server.tomcat.protocol_header=x-forwarded-proto
566+
server.tomcat.remote-ip-header=x-forwarded-for
567+
server.tomcat.protocol-header=x-forwarded-proto
568568
----
569569

570570
If your proxy uses different headers you can customize the valve's configuration by adding
571571
some entries to `application.properties`, e.g.
572572

573573
[indent=0]
574574
----
575-
server.tomcat.remote_ip_header=x-your-remote-ip-header
576-
server.tomcat.protocol_header=x-your-protocol-header
575+
server.tomcat.remote-ip-header=x-your-remote-ip-header
576+
server.tomcat.protocol-header=x-your-protocol-header
577577
----
578578

579579
The valve is also configured with a default regular expression that matches internal

0 commit comments

Comments
 (0)