mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge pull request #40054 from ViliusS
* pr/40054: Polish 'Fix forward-headers-strategy documentation regarding cloud defaults' Fix forward-headers-strategy documentation regarding cloud defaults Closes gh-40054
This commit is contained in:
commit
54595c6ae9
@ -465,7 +465,7 @@ You can use them in your application by setting configprop:server.forward-header
|
||||
TIP: If you are using Tomcat and terminating SSL at the proxy, configprop:server.tomcat.redirect-context-root[] should be set to `false`.
|
||||
This allows the `X-Forwarded-Proto` header to be honored before any redirects are performed.
|
||||
|
||||
NOTE: If your application runs in Cloud Foundry, Heroku or Kubernetes, the configprop:server.forward-headers-strategy[] property defaults to `NATIVE`.
|
||||
NOTE: If your application runs xref:api:java/org/springframework/boot/cloud/CloudPlatform.html#enum-constant-summary[in a supported Cloud Platform], the configprop:server.forward-headers-strategy[] property defaults to `NATIVE`.
|
||||
In all other instances, it defaults to `NONE`.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user