nginx uses $host instead of $http_host
See https://trac.nginx.org/nginx/ticket/2468#comment:1
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user