Missing proxy_set_header for keep alive

This commit is contained in:
thelittlefireman 2021-08-18 23:47:01 +02:00 committed by GitHub
parent 6cc1abc893
commit 9de628f3eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,11 +13,11 @@ 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 %} {% else %}
proxy_set_header Connection ""; proxy_set_header Connection "";
{% endif %} {% endif %}
{% if headers != "" %} {% if headers != "" %}