Enable X-Forwarded-Prefix where a forward headers strategy is configured
ProprietarySet the given use-forwarded-prefix property to true in Spring configuration files that set server.forward-headers-strategy to the given strategy, unless the file already sets it.
io. moderne. java. spring. boot. AddForwardedPrefixPropertyRequired
The server.forward-headers-strategy value under which the property takes effect.
The use-forwarded-prefix property to set to true.
mod run . --recipe= io. moderne. java. spring. boot. AddForwardedPrefixProperty \
-P forwardHeadersStrategy= framework \
-P property= spring. mvc. forwarded-headers. use-forwarded-prefixInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.