Browse Source

nginx uses $host instead of $http_host

See https://trac.nginx.org/nginx/ticket/2468#comment:1
merge-requests/676/merge
Glandos 1 year ago
parent
commit
8e52ff7560
  1. 2
      docs/deploying/generic.md

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

Loading…
Cancel
Save