mirror of
https://github.com/YunoHost-Apps/synapse-admin_ynh.git
synced 2024-09-03 20:26:34 +02:00
Update endpoint.nginx.conf
This commit is contained in:
parent
4eef7e3808
commit
8d875dc3c5
1 changed files with 4 additions and 1 deletions
|
@ -1,10 +1,13 @@
|
||||||
location /_synapse/admin {
|
location ~ ^(/_matrix|/_synapse/client) {
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__SYNAPSE_PORT__;
|
proxy_pass http://127.0.0.1:__SYNAPSE_PORT__;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
||||||
client_max_body_size 100M;
|
client_max_body_size 100M;
|
||||||
|
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
more_set_headers "Access-Control-Allow-Origin: __DOMAIN__";
|
more_set_headers "Access-Control-Allow-Origin: __DOMAIN__";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue