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.
requires_channel
1 parent f679796 commit 5928e56Copy full SHA for 5928e56
security/force_https.rst
@@ -74,8 +74,8 @@ access control:
74
};
75
76
To make life easier while developing, you can also use an environment variable,
77
-like ``requires_channel: '%env(SECURE_SCHEME)%'``. In your ``.env`` file, set
78
-``SECURE_SCHEME`` to ``http`` by default, but override it to ``https`` on production.
+like ``requires_channel: '%env(REQUIRED_SCHEME)%'``. In your ``.env`` file, set
+``REQUIRED_SCHEME`` to ``http`` by default, but override it to ``https`` on production.
79
80
See :doc:`/security/access_control` for more details about ``access_control``
81
in general.
0 commit comments