# HG changeset patch # User Luke Hoersten # Date 1626747342 18000 # Node ID e3c49bf5fae937bb69249c63adf4133b6dbe7ef4 # Parent 4ab7efce73210ed5feca5900aa570e91eefa7a95 Added index to dendrite nginx template. diff -r 4ab7efce7321 -r e3c49bf5fae9 dendrite/server/templates/nginx.conf.j2 --- 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; + } }