From 899537deb00d49abd277bb68b55f4a3cf0401063 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 3 Sep 2015 15:47:55 -0700 Subject: [PATCH] Use dashed property form in documentation --- spring-boot-docs/src/main/asciidoc/howto.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 147cd841c3..eb8f925345 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -563,8 +563,8 @@ them unless you need different values: [indent=0] ---- - server.tomcat.remote_ip_header=x-forwarded-for - server.tomcat.protocol_header=x-forwarded-proto + server.tomcat.remote-ip-header=x-forwarded-for + server.tomcat.protocol-header=x-forwarded-proto ---- If your proxy uses different headers you can customize the valve's configuration by adding @@ -572,8 +572,8 @@ some entries to `application.properties`, e.g. [indent=0] ---- - server.tomcat.remote_ip_header=x-your-remote-ip-header - server.tomcat.protocol_header=x-your-protocol-header + server.tomcat.remote-ip-header=x-your-remote-ip-header + server.tomcat.protocol-header=x-your-protocol-header ---- The valve is also configured with a default regular expression that matches internal