mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '1.1.x'
This commit is contained in:
commit
689d49021b
@ -474,7 +474,7 @@ most proxies, and if you only set one the other will be set automatically):
|
||||
[indent=0]
|
||||
----
|
||||
server.tomcat.remote_ip_header=x-forwarded-for
|
||||
server.tomcat.protocol_header=x-forwarded-protocol
|
||||
server.tomcat.protocol_header=x-forwarded-proto
|
||||
----
|
||||
|
||||
If your proxy uses different headers you can customize the valve's configuration by adding
|
||||
@ -1571,7 +1571,7 @@ by adding some entries to `application.properties`, e.g.
|
||||
|
||||
Spring Security can also be configured to require a secure channel for all (or some
|
||||
requests). To switch that on in a Spring Boot application you just need to set
|
||||
`security.require_https` to `true` in `application.properties`.
|
||||
`security.require_ssl` to `true` in `application.properties`.
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user