From 049d1b7817de3c442917e2f9e8c2678a901a1c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Cant=C3=B9?= Date: Fri, 25 Oct 2024 08:41:08 +0200 Subject: [PATCH] add use x forwarded host --- config/settings/production.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/settings/production.py b/config/settings/production.py index ce40d60..f79d3bc 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -55,6 +55,7 @@ SECURE_CONTENT_TYPE_NOSNIFF = env.bool( "DJANGO_SECURE_CONTENT_TYPE_NOSNIFF", default=True ) +USE_X_FORWARDED_HOST = env.bool("DJANGO_USE_X_FORWARDED_HOST", default=False) # STATIC # ------------------------