diff --git a/nginx/matrix.stpl b/nginx/matrix.stpl index 2dfdfee..9d83576 100644 --- a/nginx/matrix.stpl +++ b/nginx/matrix.stpl @@ -30,13 +30,13 @@ server { add_header Access-Control-Allow-Origin *; } location ~* ^(\/_matrix|\/_synapse) { - proxy_pass http://localhost:8008; + proxy_pass http://127.0.1.1:8008; proxy_set_header X-Forwarded-For $remote_addr; # Nginx by default only allows file uploads up to 1M in size # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml } location /admin/ { - proxy_pass http://localhost:8100/; + proxy_pass http://127.0.1.1:8100/; proxy_set_header X-Forwarded-For $remote_addr; }