Merge "Removing USE_SSL parameter from the configuration documentation"

This commit is contained in:
Zuul 2020-01-27 07:36:13 +00:00 committed by Gerrit Code Review
commit 6c8e78865b

View File

@ -181,7 +181,6 @@ The standard installation uses a non-encrypted HTTP channel.
DEBUG = False DEBUG = False
TEMPLATE_DEBUG = DEBUG TEMPLATE_DEBUG = DEBUG
PROD = True PROD = True
USE_SSL = False
SITE_BRANDING = 'OpenStack Dashboard' SITE_BRANDING = 'OpenStack Dashboard'
@ -320,13 +319,10 @@ Use a domain that fits your current setup.
.. code-block:: python .. code-block:: python
USE_SSL = True
CSRF_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True SESSION_COOKIE_SECURE = True
SESSION_COOKIE_HTTPONLY = True SESSION_COOKIE_HTTPONLY = True
To enable HTTPS, the ``USE_SSL = True`` option is required.
The other options require that HTTPS is enabled; The other options require that HTTPS is enabled;
these options defend against cross-site scripting. these options defend against cross-site scripting.