File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2528,6 +2528,15 @@ when the route doesn't exist::
25282528Forcing HTTPS on Generated URLs
25292529~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25302530
2531+ .. note ::
2532+
2533+ If your server runs behind a proxy that terminates SSL, make sure to
2534+ :doc: `configure Symfony to work behind a proxy </deployment/proxies >`
2535+
2536+ The configuration for the scheme is only used for non-HTTP requests.
2537+ The ``schemes `` option together with incorrect proxy configuration will
2538+ lead to a redirect loop.
2539+
25312540By default, generated URLs use the same HTTP scheme as the current request.
25322541In console commands, where there is no HTTP request, URLs use ``http `` by
25332542default. You can change this per command (via the router's ``getContext() ``
You can’t perform that action at this time.
0 commit comments