From e490e85945ad82ca2bf82dd8d72e52f0e71ca593 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 fce6fdcd..d77e8afb 100644 --- a/src/objects/conf/base.py +++ b/src/objects/conf/base.py @@ -33,6 +33,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": {