mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.11.x] Fixed #28435 -- Removed inaccurate warning about SECURE_HSTS_PRELOAD.
Backport of c7d58c6f43b2d1db5d01f32451bb9ce46d69c5eb from master
This commit is contained in:
parent
b6620dee72
commit
7386029249
@ -2157,11 +2157,6 @@ the ``preload`` directive to the :ref:`http-strict-transport-security`
|
|||||||
header. It has no effect unless :setting:`SECURE_HSTS_SECONDS` is set to a
|
header. It has no effect unless :setting:`SECURE_HSTS_SECONDS` is set to a
|
||||||
non-zero value.
|
non-zero value.
|
||||||
|
|
||||||
.. warning::
|
|
||||||
Setting this incorrectly can irreversibly (for at least several months,
|
|
||||||
depending on browser releases) break your site. Read the
|
|
||||||
:ref:`http-strict-transport-security` documentation first.
|
|
||||||
|
|
||||||
.. setting:: SECURE_HSTS_SECONDS
|
.. setting:: SECURE_HSTS_SECONDS
|
||||||
|
|
||||||
``SECURE_HSTS_SECONDS``
|
``SECURE_HSTS_SECONDS``
|
||||||
|
Loading…
x
Reference in New Issue
Block a user