Skip to content

Commit b900c1d

Browse files
authored
Update configmap-nginx-config.yaml
1 parent e5c4a78 commit b900c1d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

charts/showroom-single-pod/templates/proxy/configmap-nginx-config.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,19 @@ data:
9393
proxy_set_header X-NginX-Proxy true;
9494
}
9595
{{- end }}
96-
96+
location ^~ /runner {
97+
rewrite ^/runner(/.*)$ $1 break;
98+
proxy_pass http://localhost:8501/;
99+
proxy_http_version 1.1;
100+
proxy_set_header Upgrade $http_upgrade;
101+
proxy_set_header Connection "upgrade";
102+
proxy_read_timeout 43200000;
103+
104+
proxy_set_header X-Real-IP $remote_addr;
105+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
106+
proxy_set_header Host $http_host;
107+
proxy_set_header X-NginX-Proxy true;
108+
}
97109
{{- if eq .Values.ocpconsole.setup "true" }}
98110
location /ocp/ {
99111
# JM: not working, don't know why

0 commit comments

Comments
 (0)