From 3a418a2b4199c008260fef1fd5ee556a6758f228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vilius=20=C5=A0umskas?= Date: Thu, 21 Mar 2024 16:03:25 +0200 Subject: [PATCH] Fix forward-headers-strategy documentation regarding cloud defaults forward-headers-strategy=NATIVE is actually used on all cloud platforms --- .../src/docs/antora/modules/how-to/pages/webserver.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc index d564517df7c7..87f0991290bb 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc @@ -438,7 +438,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 https://docs.spring.io/spring-boot/docs/current/api/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`.