From bee1a7fcc3d6f85b0510d71b4c7dd738a1768c8f Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Thu, 14 Dec 2023 14:22:07 +0100 Subject: [PATCH] :wrench: Add config option for USE_X_FORWARDED_HOST --- src/objects/conf/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/objects/conf/base.py b/src/objects/conf/base.py index 400f795a..2ce1edd4 100644 --- a/src/objects/conf/base.py +++ b/src/objects/conf/base.py @@ -34,6 +34,7 @@ IS_HTTPS = config("IS_HTTPS", not DEBUG) ALLOWED_HOSTS = config("ALLOWED_HOSTS", default="", split=True) +USE_X_FORWARDED_HOST = config("USE_X_FORWARDED_HOST", default=False) DATABASES = { "default": {