Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gateway/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down