We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72a15c0 + 309c6ce commit 7cff6daCopy full SHA for 7cff6da
1 file changed
router/templates/nginx.conf
@@ -34,6 +34,11 @@ http {
34
access_log /dev/stdout;
35
error_log /dev/stdout;
36
37
+ map $http_upgrade $connection_upgrade {
38
+ default upgrade;
39
+ '' close;
40
+ }
41
+
42
## start deis-controller
43
{{ if .deis_controller_host }}
44
upstream deis-controller {
@@ -80,6 +85,9 @@ http {
80
85
proxy_connect_timeout 10s;
81
86
proxy_send_timeout 1200s;
82
87
proxy_read_timeout 1200s;
88
+ proxy_http_version 1.1;
89
+ proxy_set_header Upgrade $http_upgrade;
90
+ proxy_set_header Connection $connection_upgrade;
83
91
84
92
proxy_next_upstream error timeout http_502 http_503 http_504;
93
0 commit comments