From 4352d195d75e3ca8d17a984ae3e0796e088e93ec Mon Sep 17 00:00:00 2001 From: Norbert Kwizera Date: Thu, 15 Oct 2020 14:11:05 +0200 Subject: [PATCH] Revert "Support using USE_X_FORWARDED_HOST" This reverts commit d05a857d37a02378697498a74593dc0c1b2c1107. --- ureport/settings.py.prod | 2 -- ureport/settings.py.staging | 2 -- 2 files changed, 4 deletions(-) diff --git a/ureport/settings.py.prod b/ureport/settings.py.prod index fdc7d91af..d6ca04281 100644 --- a/ureport/settings.py.prod +++ b/ureport/settings.py.prod @@ -30,8 +30,6 @@ SECURE_HSTS_INCLUDE_SUBDOMAINS = True SECURE_CONTENT_TYPE_NOSNIFF = True SECURE_BROWSER_XSS_FILTER = True -USE_X_FORWARDED_HOST = True - # these guys will get email from sentry ADMINS = ( ('Nyaruka Ops', 'ops@nyaruka.com'), diff --git a/ureport/settings.py.staging b/ureport/settings.py.staging index 3f3c825a4..60938347c 100644 --- a/ureport/settings.py.staging +++ b/ureport/settings.py.staging @@ -28,8 +28,6 @@ SECURE_HSTS_INCLUDE_SUBDOMAINS = True SECURE_CONTENT_TYPE_NOSNIFF = True SECURE_BROWSER_XSS_FILTER = True -USE_X_FORWARDED_HOST = True - # these guys will get email from sentry ADMINS = ( ('Nyaruka Ops', 'ops@nyaruka.com'),