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

View File

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