Merge branch 'cryptpad' of git.disroot.org:Disroot-Ansible/nginx into cryptpad

This commit is contained in:
muppeth 2021-04-27 05:43:12 +02:00
commit 44951259a6
2 changed files with 3 additions and 5 deletions

View File

@ -1,2 +0,0 @@
# nginx

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 %}