mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 20:19:06 +00:00
Merge pull request #50841 from doehyunbaek
Closes gh-50841 * gh-50841: Polish "Fix forwarded headers property in cloud deployment docs" Fix forwarded headers property in cloud deployment docs
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ In this section, we look at what it takes to get the xref:tutorial:first-applica
|
||||
Support for xref:how-to:webserver.adoc#howto.webserver.use-behind-a-proxy-server[forwarded headers] should only be enabled when the application receives traffic from a trusted HTTP proxy, and is only directly accessible from a trusted network.
|
||||
When running on a cloud platform, forward headers are enabled automatically.
|
||||
This builds on the assumption that the platform will ensure that individual application instances will only be directly accessible from a trusted network.
|
||||
If that is not the case for your specific platform, set `spring.forward-headers-strategy` to `none`.
|
||||
If that is not the case for your specific platform, set configprop:server.forward-headers-strategy[] to `none`.
|
||||
|
||||
|
||||
[[howto.deployment.cloud.cloud-foundry]]
|
||||
|
||||
Reference in New Issue
Block a user