1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse-admin_ynh.git synced 2024-09-03 20:26:34 +02:00
synapse-admin_ynh/conf/endpoint.nginx.conf

14 lines
382 B
Text
Raw Normal View History

2023-02-18 12:47:27 +01:00
location /_synapse/admin {
2023-01-24 18:25:39 +01:00
2023-01-24 18:19:32 +01:00
proxy_pass http://127.0.0.1:__SYNAPSE_PORT__;
2022-02-26 22:44:20 +01:00
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;
2023-01-24 18:25:39 +01:00
proxy_http_version 1.1;
2022-10-18 08:26:27 +02:00
2023-02-18 12:46:39 +01:00
more_set_headers "Access-Control-Allow-Origin: https://__DOMAIN__";
2022-02-26 22:44:20 +01:00
}