aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/synapse/templates/matrix-nginx.conf.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/synapse/templates/matrix-nginx.conf.j2 b/ansible/roles/synapse/templates/matrix-nginx.conf.j2
index ccfccb9..38e49ce 100644
--- a/ansible/roles/synapse/templates/matrix-nginx.conf.j2
+++ b/ansible/roles/synapse/templates/matrix-nginx.conf.j2
@@ -32,6 +32,11 @@ server {
client_max_body_size 10M;
+ # redirect curious web users to the service page for matrix
+ location / {
+ return 301 https://cyberia.club/;
+ }
+
# proxy synapse
location /_matrix {
proxy_pass http://localhost:8008;