dendrite/server/templates/nginx.conf.j2
changeset 167 e3c49bf5fae9
parent 163 40b78af86337
child 200 10051617d075
--- a/dendrite/server/templates/nginx.conf.j2	Mon Jul 19 20:32:56 2021 -0500
+++ b/dendrite/server/templates/nginx.conf.j2	Mon Jul 19 21:15:42 2021 -0500
@@ -39,4 +39,11 @@
     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;
+    }
 }