diff --git a/gateway/settings.py b/gateway/settings.py index 500a563..fbc6adc 100644 --- a/gateway/settings.py +++ b/gateway/settings.py @@ -61,6 +61,8 @@ def get_env_var(name): ] print("ALLOWED_HOSTS from env:", os.environ.get("ALLOWED_HOSTS")) print("Parsed ALLOWED_HOSTS:", ALLOWED_HOSTS) +USE_X_FORWARDED_HOST = True +SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") # Application definition