Skip to content

Commit 8d4bf0e

Browse files
committed
Add a note that X-Forwared-Prefix should be configured as trusted header.
1 parent 748b65d commit 8d4bf0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deployment/proxies.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ This is required for Symfony to generate the correct URLs.
170170
This can normally be configured in your reverse proxy configuration.
171171
If the application is served via the reverse proxy under a URL like
172172
``https://localhost/app/``, then ``X-Forwarded-Prefix`` must be set to ``/app/`` by the
173-
reverse proxy.
173+
reverse proxy. Be sure that ``X-Forwared-Prefix`` is configured as trusted header, if
174+
you want to use this feature.
174175

175176
Custom Headers When Using a Reverse Proxy
176177
-----------------------------------------

0 commit comments

Comments
 (0)