diff --git a/confs/site/reverse-proxy.conf b/confs/site/reverse-proxy.conf index e8c2932..e0a1268 100644 --- a/confs/site/reverse-proxy.conf +++ b/confs/site/reverse-proxy.conf @@ -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 != "" %}