From cb16cae09b20ccfbdc430a4cf627e9c956beeedd Mon Sep 17 00:00:00 2001 From: Alessio Date: Mon, 22 Apr 2019 22:08:28 +0100 Subject: [PATCH] fix nginx template with Connection header to http_connection --- plugins/nginx-vhosts/templates/nginx.conf.sigil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nginx-vhosts/templates/nginx.conf.sigil b/plugins/nginx-vhosts/templates/nginx.conf.sigil index 360ba4a6a..59e902ba9 100644 --- a/plugins/nginx-vhosts/templates/nginx.conf.sigil +++ b/plugins/nginx-vhosts/templates/nginx.conf.sigil @@ -26,7 +26,7 @@ server { proxy_pass http://{{ $.APP }}-{{ $upstream_port }}; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + proxy_set_header Connection $http_connection; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $remote_addr;