更新 'nginx/matrix.stpl'

This commit is contained in:
root 2022-09-13 12:41:55 +00:00
parent 76d012f633
commit 8c2df1ee05

View file

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