Merge branch 'patch-15' of github.com:thelittlefireman/bunkerized-nginx into keepalive
This commit is contained in:
commit
b079c99fb9
@ -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(";") +%}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user