diff --git a/conf/nginx.conf b/conf/nginx.conf index c037f05..5757cd1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,7 +6,8 @@ location ~ ^/$ { location /_matrix { proxy_pass http://localhost:__PORT__; - more_set_headers "X-Real-IP: $remote_addr"; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; proxy_read_timeout 600; client_max_body_size 100M; more_set_headers "Access-Control-Allow-Origin: *";