diff options
| author | Luke Hoersten <[email protected]> | 2021-07-19 21:15:42 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2021-07-19 21:15:42 -0500 |
| commit | 4da09e0dc85dbdc7d089c86189e8799bf5a5741e (patch) | |
| tree | d21b0cad19b3ed1e65963d12b24d214e75567fd5 /dendrite/server | |
| parent | 34672aa5296c8dd6293b5e6460cbd097c37203f8 (diff) | |
Added index to dendrite nginx template.
Diffstat (limited to 'dendrite/server')
| -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; + } } |
