Bump HSTS to 30 days

This commit is contained in:
Jake Howard 2022-10-30 18:56:40 +00:00
parent 79f532b5c0
commit 91d022c44c
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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