mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Use underline instead of dash in tomcat properties
Closes gh-10256
This commit is contained in:
parent
32e24f3e0a
commit
281a93a0c4
@ -2463,8 +2463,8 @@ by adding some entries to `application.properties`, e.g.
|
||||
|
||||
[source,properties,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
|
||||
----
|
||||
|
||||
(The presence of either of those properties will switch on the valve. Or you can add the
|
||||
|
Loading…
Reference in New Issue
Block a user