From 4612d43a5ca862724958b20b542c580c1657c5c7 Mon Sep 17 00:00:00 2001 From: Amir Date: Sat, 21 Sep 2024 13:49:24 +0200 Subject: [PATCH] ading ssl redirect --- saburly/settings/production.py | 1 + 1 file changed, 1 insertion(+) diff --git a/saburly/settings/production.py b/saburly/settings/production.py index a7bbc25d..e5745661 100644 --- a/saburly/settings/production.py +++ b/saburly/settings/production.py @@ -39,5 +39,6 @@ SECURE_BROWSER_XSS_FILTER = True SECURE_CONTENT_TYPE_NOSNIFF = True X_FRAME_OPTIONS = 'DENY' SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') +SECURE_SSL_REDIRECT = True