You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #19128 Added docs on how to configure the reverse proxy for a subfolder & Documented the usage of X-Forwared-Prefix (jbtronics)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
Added docs on how to configure the reverse proxy for a subfolder & Documented the usage of X-Forwared-Prefix
If you want to put a symfony application behind a reverse proxy which is configured the application in a subfolder, then this is supported by setting the non-standard `X-Forwarded-Prefix HTTP header`. This was already [added in Symfony 5.2](symfony/http-foundation@d3a2506). However, this is nowhere documented and no good solution on how to achieve this goal is found on the internet. This commit adds documentation on how to use this header.
This should apply to all Symfony versions (at least from 5.4 upwards)
Commits
-------
06a9da6 Added docs on how to configure the reverse proxy for a subfolder & Documented the usage of X-Forwared-Prefix
0 commit comments