更新 'nginx/matrix.stpl'
This commit is contained in:
parent
76d012f633
commit
8c2df1ee05
1 changed files with 2 additions and 2 deletions
|
|
@ -30,13 +30,13 @@ server {
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
}
|
}
|
||||||
location ~* ^(\/_matrix|\/_synapse) {
|
location ~* ^(\/_matrix|\/_synapse) {
|
||||||
proxy_pass http://localhost:8008;
|
proxy_pass http://127.0.1.1:8008;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
# Nginx by default only allows file uploads up to 1M in size
|
# 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
|
# Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
|
||||||
}
|
}
|
||||||
location /admin/ {
|
location /admin/ {
|
||||||
proxy_pass http://localhost:8100/;
|
proxy_pass http://127.0.1.1:8100/;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue