From 5928e56c1d21444147f31f4b356d582fc0c2dbb5 Mon Sep 17 00:00:00 2001 From: mohamed Date: Tue, 3 Oct 2023 10:10:25 +0200 Subject: [PATCH] [Security] Improve `requires_channel` var naming --- security/force_https.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/force_https.rst b/security/force_https.rst index 817adbdb50..016ac59496 100644 --- a/security/force_https.rst +++ b/security/force_https.rst @@ -74,8 +74,8 @@ access control: }; To make life easier while developing, you can also use an environment variable, -like ``requires_channel: '%env(SECURE_SCHEME)%'``. In your ``.env`` file, set -``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. See :doc:`/security/access_control` for more details about ``access_control`` in general.