mirror of
https://github.com/YunoHost-Apps/synapse-admin_ynh.git
synced 2024-09-03 20:26:34 +02:00
10 lines
340 B
Text
10 lines
340 B
Text
location /_synapse/admin {
|
|
proxy_pass http://127.0.0.1:__SYNAPSE_PORT__;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header Host $host;
|
|
|
|
client_max_body_size 100M;
|
|
|
|
more_set_headers "Access-Control-Allow-Origin: __DOMAIN__";
|
|
}
|