diff --git a/calibre_web/rootfs/etc/nginx/servers/ingress.conf b/calibre_web/rootfs/etc/nginx/servers/ingress.conf index e34dbe3770d..8ab71239128 100644 --- a/calibre_web/rootfs/etc/nginx/servers/ingress.conf +++ b/calibre_web/rootfs/etc/nginx/servers/ingress.conf @@ -12,7 +12,7 @@ server { # Base from https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#nginx proxy_bind $server_addr; proxy_pass http://127.0.0.1:8083; - proxy_set_header Connection "Upgrade"; + proxy_set_header Connection $http_connection; proxy_set_header Upgrade $http_upgrade; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;