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

Add empty page for /

This commit is contained in:
Josué Tille 2024-02-27 08:04:00 +01:00
parent fc56ab1484
commit 59486b60f9
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -1,3 +1,9 @@
rewrite ^$ /;
location ~ ^/$ {
default_type text/plain;
return 200 "This is where Synapse is installed.";
}
location /_matrix/ { location /_matrix/ {
proxy_pass http://localhost:__PORT_SYNAPSE__; proxy_pass http://localhost:__PORT_SYNAPSE__;
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;