Enable HSTS
This commit is contained in:
parent
13f5111d7a
commit
df7f46425e
1 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,9 @@ ADMINS = [
|
|||
SESSION_COOKIE_SECURE = not DEBUG
|
||||
CSRF_COOKIE_SECURE = not DEBUG
|
||||
|
||||
# Remember HTTPS for 24h
|
||||
SECURE_HSTS_SECONDS = 86400
|
||||
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue