From 9004377721afecdf5b3a6f27b0982195819639f8 Mon Sep 17 00:00:00 2001 From: Amir Date: Sat, 21 Sep 2024 13:24:45 +0200 Subject: [PATCH] . --- saburly/settings/production.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/saburly/settings/production.py b/saburly/settings/production.py index ecfdbf8c..a7bbc25d 100644 --- a/saburly/settings/production.py +++ b/saburly/settings/production.py @@ -38,4 +38,6 @@ SECURE_HSTS_PRELOAD = True SECURE_BROWSER_XSS_FILTER = True SECURE_CONTENT_TYPE_NOSNIFF = True X_FRAME_OPTIONS = 'DENY' +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') +