From 9a2fb471bd6c2d37f9e2835d1bad13d0d04c7376 Mon Sep 17 00:00:00 2001 From: Doehyun Baek Date: Fri, 12 Jun 2026 05:18:21 +0000 Subject: [PATCH 1/2] Fix forwarded headers property in cloud deployment docs Signed-off-by: Doehyun Baek See gh-50841 --- .../src/docs/antora/modules/how-to/pages/deployment/cloud.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc index b6b093a5ecf..be9d1104723 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc @@ -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]] From 8f217b48a1ecfee925be432914504d812da3b4e0 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 24 Jun 2026 15:38:35 +0100 Subject: [PATCH 2/2] Polish "Fix forwarded headers property in cloud deployment docs" See gh-50841 --- .../src/docs/antora/modules/how-to/pages/deployment/cloud.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc index be9d1104723..7189b7382d3 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc @@ -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 `server.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]]