Skip to content

Commit 6c4ed5e

Browse files
committed
Merge pull request #10256 from aconstantin:patch-1
* pr/10256: Use underline instead of dash in tomcat properties
2 parents 32e24f3 + 281a93a commit 6c4ed5e

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)