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:
parent
fc56ab1484
commit
59486b60f9
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
rewrite ^$ /;
|
||||
location ~ ^/$ {
|
||||
default_type text/plain;
|
||||
return 200 "This is where Synapse is installed.";
|
||||
}
|
||||
|
||||
location /_matrix/ {
|
||||
proxy_pass http://localhost:__PORT_SYNAPSE__;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
|
|
Loading…
Reference in a new issue