We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fde57c commit 199fbc8Copy full SHA for 199fbc8
routing/scheme.rst
@@ -94,3 +94,10 @@ to always use ``http``.
94
to secure an "area" of your website (all URLs under ``/admin``) or when
95
you want to secure URLs defined in a third party bundle (see
96
:doc:`/security/force_https` for more details).
97
+
98
+.. note::
99
100
+ Inside CLI commands or the messenger workers the router context is not defined
101
+ and you may want to force the router to always generate https or http urls.
102
+ This can be achieved with specifying ``router.request_context.scheme: 'https'``
103
+ in your your parameters. (see :doc:`/console/request_context.rst` for more details).
0 commit comments