Skip to content

Commit

Permalink
Polish 'Fix forward-headers-strategy documentation regarding cloud de…
Browse files Browse the repository at this point in the history
…faults'

See gh-40054
  • Loading branch information
philwebb committed Apr 18, 2024
1 parent a832e4b commit 73b1836
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,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 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`.
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`.
In all other instances, it defaults to `NONE`.


Expand Down

0 comments on commit 73b1836

Please sign in to comment.