enable HSTS | close #28
This commit is contained in:
parent
a489549aaa
commit
d523799820
1 changed files with 3 additions and 0 deletions
|
@ -134,6 +134,9 @@ if not DEBUG:
|
|||
SESSION_COOKIE_SECURE = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
SECURE_SSL_REDIRECT = True
|
||||
SECURE_HSTS_PRELOAD = True
|
||||
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
|
||||
SECURE_HSTS_SECONDS = 31536000
|
||||
LOGGING = {
|
||||
'version': 1,
|
||||
'disable_existing_loggers': False,
|
||||
|
|
Loading…
Add table
Reference in a new issue