From 9852376b3809853b8bef56ff09e09ba2318a8286 Mon Sep 17 00:00:00 2001 From: bt90 Date: Wed, 4 Jan 2023 06:01:28 +0100 Subject: [PATCH] Fix connection header (#1252) --- nginx/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 58171193a4..25f9fa1699 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -72,7 +72,7 @@ http { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + proxy_set_header Connection $connection_upgrade; proxy_set_header Host $host; rewrite /api/(.*) /$1 break; @@ -94,7 +94,7 @@ http { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + proxy_set_header Connection $connection_upgrade; proxy_set_header Host $host; proxy_pass ${IMMICH_WEB_SCHEME}web;