File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,10 +174,10 @@ used to generate absolute paths and URLs in Symfony applications. Without the he
174
174
based on the configuration of the web server running Symfony, which leads to incorrect pathes/URLs, when the application
175
175
is served under a subpath by a reverse proxy.
176
176
177
- For example if your symfony application is directly served under an URL like ``https://symfony.tld/ ``
177
+ For example if your symfony application is directly served under an URL like ``https://symfony.tld/ ``
178
178
and you would like to use a reverse proxy to serve the application under ``https://public.tld/app/ ``, you would need
179
179
to set the ``X-Forwarded-Prefix `` header to ``/app/ `` in your reverse proxy configuration.
180
- Without the header, Symfony would generate URLs based on its servers base URL (e.g. ``/my/route ``) instead of the correct
180
+ Without the header, Symfony would generate URLs based on its servers base URL (e.g. ``/my/route ``) instead of the correct
181
181
``/app/my/route ``, which is required to access the route via the reverse proxy.
182
182
183
183
The header can be different for each reverse proxy, so that access via different reverse proxies served under different
You can’t perform that action at this time.
0 commit comments