Skip to content

Commit 281a93a

Browse files
aconstantinsnicoll
authored andcommitted
Use underline instead of dash in tomcat properties
Closes gh-10256
1 parent 32e24f3 commit 281a93a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2463,8 +2463,8 @@ by adding some entries to `application.properties`, e.g.
24632463

24642464
[source,properties,indent=0]
24652465
----
2466-
server.tomcat.remote_ip_header=x-forwarded-for
2467-
server.tomcat.protocol_header=x-forwarded-proto
2466+
server.tomcat.remote-ip-header=x-forwarded-for
2467+
server.tomcat.protocol-header=x-forwarded-proto
24682468
----
24692469

24702470
(The presence of either of those properties will switch on the valve. Or you can add the

0 commit comments

Comments
 (0)