mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Merge branch 'patch-15' of github.com:thelittlefireman/bunkerized-nginx into keepalive
This commit is contained in:
commit
b079c99fb9
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Reference in a new issue