From 0062c3ce805e03efc4e7fff9acc64f5b5b16e955 Mon Sep 17 00:00:00 2001 From: Dilshat Aliev Date: Fri, 14 Dec 2018 09:52:34 +0600 Subject: [PATCH 1/2] #917 --- cli/proxy.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/proxy.go b/cli/proxy.go index e091698b..af1af275 100644 --- a/cli/proxy.go +++ b/cli/proxy.go @@ -95,6 +95,9 @@ server { proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; } #well-known From 291fe88f36108865fbb7b9bec0f55cdf922e5938 Mon Sep 17 00:00:00 2001 From: Dilshat Aliev Date: Fri, 14 Dec 2018 14:55:54 +0600 Subject: [PATCH 2/2] #917 --- cli/proxy.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/proxy.go b/cli/proxy.go index af1af275..cd258948 100644 --- a/cli/proxy.go +++ b/cli/proxy.go @@ -95,9 +95,8 @@ server { proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; - proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "Upgrade"; + proxy_set_header Connection $http_connection; } #well-known