diff options
Diffstat (limited to 'dendrite/server/templates/nginx.conf.j2')
| -rw-r--r-- | dendrite/server/templates/nginx.conf.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
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; + } } |
