Use dashed property form in documentation

pull/3901/head
Phillip Webb 9 years ago
parent 8e0e825e8d
commit 899537deb0

@ -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

Loading…
Cancel
Save