Merge branch 'patch-15' of github.com:thelittlefireman/bunkerized-nginx into keepalive

This commit is contained in:
bunkerity 2021-09-02 11:52:38 +02:00
commit b079c99fb9

View File

@ -19,10 +19,12 @@ location {{ url }} {% raw %}{{% endraw +%}
include {{ NGINX_PREFIX }}authelia-auth-request.conf; include {{ NGINX_PREFIX }}authelia-auth-request.conf;
{% endif %} {% endif %}
include {{ NGINX_PREFIX }}reverse-proxy-headers.conf; include {{ NGINX_PREFIX }}reverse-proxy-headers.conf;
{% if ws == "yes" +%}
proxy_http_version 1.1; proxy_http_version 1.1;
{% if ws == "yes" +%}
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade"; proxy_set_header Connection "Upgrade";
{% else %}
proxy_set_header Connection "";
{% endif %} {% endif %}
{% if headers != "" %} {% if headers != "" %}
{% for header in headers.split(";") +%} {% for header in headers.split(";") +%}