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 @@ -2492,6 +2492,15 @@ when the route doesn't exist::
24922492Forcing HTTPS on Generated URLs
24932493~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24942494
2495+ .. note ::
2496+
2497+ If your server runs behind a proxy that terminates SSL, make sure to
2498+ :doc: `configure Symfony to work behind a proxy </deployment/proxies >`
2499+
2500+ The configuration for the scheme is only used for non-HTTP requests.
2501+ The ``schemes `` option together with incorrect proxy configuration will
2502+ lead to a redirect loop.
2503+
24952504By default, generated URLs use the same HTTP scheme as the current request.
24962505In console commands, where there is no HTTP request, URLs use ``http `` by
24972506default. You can change this per command (via the router's ``getContext() ``
You can’t perform that action at this time.
0 commit comments