Bump HSTS to 30 days
This commit is contained in:
parent
79f532b5c0
commit
91d022c44c
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ SESSION_COOKIE_HTTPONLY = True
|
|||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||
|
||||
if not DEBUG:
|
||||
SECURE_HSTS_SECONDS = 86400 # 1 day
|
||||
SECURE_HSTS_SECONDS = 2592000 # 30 days
|
||||
|
||||
if sentry_dsn := env("SENTRY_DSN"):
|
||||
import sentry_sdk
|
||||
|
|
Loading…
Reference in a new issue