From 3a12b3ff8d002fdb712bfc664196b90405b61c38 Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Wed, 9 Feb 2022 00:08:28 +0100
Subject: [PATCH] Nginx sets Host-header correctly, don't unset

---
 wordpress/templates/wp-config.php.j2 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/wordpress/templates/wp-config.php.j2 b/wordpress/templates/wp-config.php.j2
index 4316c55..1dee495 100644
--- a/wordpress/templates/wp-config.php.j2
+++ b/wordpress/templates/wp-config.php.j2
@@ -13,7 +13,6 @@ define('DB_COLLATE', '');
 
 define('FS_METHOD', 'direct');
 
-$_SERVER["HTTP_HOST"] = $_SERVER["HTTP_X_FORWARDED_HOST"];
 $_SERVER["HTTPS"] = "on";
 
 require_once('secrets.php');
-- 
GitLab