From 8e52ff7560a04122e28a6674a07eb41844ac866d Mon Sep 17 00:00:00 2001 From: Glandos Date: Thu, 24 Oct 2024 15:22:28 +0000 Subject: [PATCH] nginx uses $host instead of $http_host See https://trac.nginx.org/nginx/ticket/2468#comment:1 --- docs/deploying/generic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploying/generic.md b/docs/deploying/generic.md index 8ff0c6b3..1bda1cac 100644 --- a/docs/deploying/generic.md +++ b/docs/deploying/generic.md @@ -212,7 +212,7 @@ server { location /_matrix/ { proxy_pass http://127.0.0.1:6167; - proxy_set_header Host $http_host; + proxy_set_header Host $host; proxy_buffering off; proxy_read_timeout 5m; }