diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-10-19 17:45:08 +0200 | 
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-10-19 17:52:40 +0200 | 
| commit | 3ad55935b63d8860467ec5c67328747166263fd5 (patch) | |
| tree | e3a13ba48fae31b6624ce5f476ce5298d6db47a3 /fsweb/settings.py | |
| parent | 3abe7842519b18418e658769f8fb196acf0d8687 (diff) | |
Diffstat (limited to 'fsweb/settings.py')
| -rw-r--r-- | fsweb/settings.py | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/fsweb/settings.py b/fsweb/settings.py index e4359ea..c86db78 100644 --- a/fsweb/settings.py +++ b/fsweb/settings.py @@ -39,6 +39,9 @@ STATIC_ROOT = os.getenv('STATIC_ROOT')  if is_env_production:      CSRF_COOKIE_SECURE = True      SESSION_COOKIE_SECURE = True +    SECURE_SSL_REDIRECT = True +    SECURE_HSTS_SECONDS = 31536000 +    SECURE_HSTS_INCLUDE_SUBDOMAINS = True  | 
