Skip to content

Commit 54595c6

Browse files
committed
Merge pull request #40054 from ViliusS
* pr/40054: Polish 'Fix forward-headers-strategy documentation regarding cloud defaults' Fix forward-headers-strategy documentation regarding cloud defaults Closes gh-40054
2 parents 805bb06 + 73b1836 commit 54595c6

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ You can use them in your application by setting configprop:server.forward-header
465465
TIP: If you are using Tomcat and terminating SSL at the proxy, configprop:server.tomcat.redirect-context-root[] should be set to `false`.
466466
This allows the `X-Forwarded-Proto` header to be honored before any redirects are performed.
467467

468-
NOTE: If your application runs in Cloud Foundry, Heroku or Kubernetes, the configprop:server.forward-headers-strategy[] property defaults to `NATIVE`.
468+
NOTE: If your application runs xref:api:java/org/springframework/boot/cloud/CloudPlatform.html#enum-constant-summary[in a supported Cloud Platform], the configprop:server.forward-headers-strategy[] property defaults to `NATIVE`.
469469
In all other instances, it defaults to `NONE`.
470470

471471

0 commit comments

Comments
 (0)