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

Merge pull request #26 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2023-02-18 12:48:00 +01:00 committed by GitHub
commit 5602349e2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,13 @@
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;
proxy_http_version 1.1;
more_set_headers "Access-Control-Allow-Origin: __DOMAIN__";
more_set_headers "Access-Control-Allow-Origin: https://__DOMAIN__";
}