diff --git a/app/settings/common.py b/app/settings/common.py index 8c7a9cd..eed7845 100644 --- a/app/settings/common.py +++ b/app/settings/common.py @@ -165,3 +165,5 @@ SIGNAL_MODERATORS = [] RATELIMIT_CACHE_BACKEND = "app.brake_backend.BrakeBackend" SITENAME = "phantas.ma" + +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')