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:
commit
b314f0ce02
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue