diff --git a/core/settings/production.py b/core/settings/production.py index a957369..8860938 100644 --- a/core/settings/production.py +++ b/core/settings/production.py @@ -12,6 +12,7 @@ DATABASES = {"default": DEFAULT_CONNECTION, } # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = os.environ.get("SECRET_KEY") +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True