Skip to content

Commit a543dfd

Browse files
fix(internal-gateway): fix ws timeout (#38)
1 parent 27fea14 commit a543dfd

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

charts/internal-gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: v0.0.0
33
description: A Helm chart for Codefresh Internal Gateway
44
name: internal-gateway
5-
version: 0.1.0
5+
version: 0.1.1
66
home: https://github.com/codefresh-io/helm-charts
77
keywords:
88
- codefresh

charts/internal-gateway/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
A Helm chart for Codefresh Internal Gateway
66

charts/internal-gateway/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)