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::
2528
2528
Forcing HTTPS on Generated URLs
2529
2529
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2530
2530
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
+
2531
2540
By default, generated URLs use the same HTTP scheme as the current request.
2532
2541
In console commands, where there is no HTTP request, URLs use ``http `` by
2533
2542
default. You can change this per command (via the router's ``getContext() ``
You can’t perform that action at this time.
0 commit comments