File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22appVersion : v0.0.0
33description : A Helm chart for Codefresh Internal Gateway
44name : internal-gateway
5- version : 0.1.0
5+ version : 0.1.1
66home : https://github.com/codefresh-io/helm-charts
77keywords :
88 - codefresh
Original file line number Diff line number Diff line change 11# internal-gateway
22
3- ![ Version: 0.1.0 ] ( https://img.shields.io/badge/Version-0.1.0 -informational?style=flat-square ) ![ AppVersion: v0.0.0] ( https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square )
3+ ![ Version: 0.1.1 ] ( https://img.shields.io/badge/Version-0.1.1 -informational?style=flat-square ) ![ AppVersion: v0.0.0] ( https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square )
44
55A Helm chart for Codefresh Internal Gateway
66
Original file line number Diff line number Diff line change @@ -108,6 +108,11 @@ nginx:
108108 sendfile on;
109109 tcp_nopush on;
110110
111+ map $http_upgrade $connection_upgrade {
112+ default upgrade;
113+ '' close;
114+ }
115+
111116 {{- if .Values.nginx.config.resolver }}
112117 resolver {{ .Values.nginx.config.resolver }};
113118 {{- else }}
@@ -143,6 +148,10 @@ nginx:
143148 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
144149 proxy_set_header X-Forwarded-Proto $scheme;
145150
151+ proxy_http_version 1.1;
152+ proxy_set_header Upgrade $http_upgrade;
153+ proxy_set_header Connection "";
154+
146155 {{- range $key, $val := .Values.nginx.config.proxyConf }}
147156 {{ printf "%s %s;" $key $val }}
148157 {{- end }}
You can’t perform that action at this time.
0 commit comments