From 91d022c44c8ec7e99f3ec549616a11d1ce2e754b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 30 Oct 2022 18:56:40 +0000 Subject: [PATCH] Bump HSTS to 30 days --- website/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/settings.py b/website/settings.py index b915897..0e5d94c 100644 --- a/website/settings.py +++ b/website/settings.py @@ -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