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
1 changed files with 3 additions and 1 deletions

View File

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