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:
Andy Wilkinson
2026-06-24 15:40:57 +01:00
@@ -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]]