Fix forwarded headers property in cloud deployment docs

Signed-off-by: Doehyun Baek <doehyunbaek@gmail.com>

See gh-50841
This commit is contained in:
Doehyun Baek
2026-06-24 15:37:08 +01:00
committed by Andy Wilkinson
parent e612907593
commit 9a2fb471bd
@@ -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 `server.forward-headers-strategy` to `none`.
[[howto.deployment.cloud.cloud-foundry]]