Fix issue and match with vars from role

This commit is contained in:
meaz 2021-04-06 17:44:02 +02:00
parent 2841af5dae
commit e7b0fd2b9c
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{% extends core.j2 %} {% extends "core.j2" %}
{% block extra_upstreams %} {% block extra_upstreams %}
map $http_upgrade $connection_upgrade { map $http_upgrade $connection_upgrade {
@ -13,9 +13,9 @@ map $http_upgrade $connection_upgrade {
root {{ item.root }}; root {{ item.root }};
} }
location /server { 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_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade; proxy_set_header Connection $connection_upgrade;
} }
{% endblock %} {% endblock %}