Merge pull request '[Mumble] Fix issue and match with vars from role' (#1) from mumble_web into master

Reviewed-on: #1
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Reviewed-by: antilopa <antilopa@no-reply@disroot.org>
This commit is contained in:
meaz 2021-04-26 09:27:30 +00:00
commit b314f0ce02
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{% extends core.j2 %}
{% extends "core.j2" %}
{% block extra_upstreams %}
map $http_upgrade $connection_upgrade {
@ -13,9 +13,9 @@ map $http_upgrade $connection_upgrade {
root {{ item.root }};
}
location /server {
proxy_pass {{ item.mumble_proto }}://{{ item.mumble_server }}:{{ item.mumble_port }};
proxy_pass {{ item.proto }}://{{ item.server }}:{{ item.port }};
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
{% endblock %}
{% endblock %}