Merge pull request #3593 from JakeAngell/patch-1

Fix nginx template for https in "Connection" header
This commit is contained in:
Jose Diaz-Gonzalez
2019-06-18 11:38:29 -04:00
committed by GitHub

View File

@@ -84,7 +84,7 @@ server {
{{ if eq $.HTTP2_PUSH_SUPPORTED "true" }}http2_push_preload on; {{ end }}
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;