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::
2492
2492
Forcing HTTPS on Generated URLs
2493
2493
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2494
2494
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
+
2495
2504
By default, generated URLs use the same HTTP scheme as the current request.
2496
2505
In console commands, where there is no HTTP request, URLs use ``http `` by
2497
2506
default. You can change this per command (via the router's ``getContext() ``
You can’t perform that action at this time.
0 commit comments