move templates into subdirs

This commit is contained in:
HgO
2021-03-26 23:48:36 +01:00
parent ea80f2e2f5
commit 1ef7fbb1b5
11 changed files with 9 additions and 8 deletions

View File

@@ -53,11 +53,11 @@ server {
{% endif %}
location / {
root /var/www/mumble-web/dist/;
root {{ mumble_web_dist_dir }};
}
location /mumble {
proxy_pass http://127.0.0.1:{{ mumble_web_websockify_port }};
proxy_pass http://localhost:{{ mumble_web_websockify_port }};
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;