From 4da09e0dc85dbdc7d089c86189e8799bf5a5741e Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Mon, 19 Jul 2021 21:15:42 -0500 Subject: Added index to dendrite nginx template. --- dendrite/server/templates/nginx.conf.j2 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dendrite') diff --git a/dendrite/server/templates/nginx.conf.j2 b/dendrite/server/templates/nginx.conf.j2 index 2f4c319..8e2d34f 100644 --- a/dendrite/server/templates/nginx.conf.j2 +++ b/dendrite/server/templates/nginx.conf.j2 @@ -39,4 +39,11 @@ server { location /_matrix { proxy_pass http://127.0.0.1:{{nginx_proxy_port}}; } + + root /var/www/{{nginx_server_name}}; + index index.html; + + location / { + try_files $uri $uri/ =404; + } } -- cgit v1.2.3