nginx uses $host instead of $http_host

See https://trac.nginx.org/nginx/ticket/2468#comment:1
This commit is contained in:
Glandos 2024-10-24 15:22:28 +00:00
parent 12ada1c86a
commit 8e52ff7560

View File

@ -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;
}