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