Merge pull request #3613 from Lyelt/master

Remove all uses of proxy_set_header Connection "upgrade"
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2019-07-14 23:11:57 -07:00
commit f4c0715299
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ server {
proxy_pass http://{{ .APP }}; proxy_pass http://{{ .APP }};
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; 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 Host $http_host;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-For $http_x_forwarded_for; proxy_set_header X-Forwarded-For $http_x_forwarded_for;
+1 -1
View File
@@ -312,7 +312,7 @@ server {
proxy_pass http://{{ $.APP }}-{{ \$upstream_port }}; proxy_pass http://{{ $.APP }}-{{ \$upstream_port }};
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade \$http_upgrade; 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 Host \$http_host;
proxy_set_header X-Forwarded-Proto \$scheme; proxy_set_header X-Forwarded-Proto \$scheme;
proxy_set_header X-Forwarded-For \$remote_addr; proxy_set_header X-Forwarded-For \$remote_addr;