Skip to content

Commit d968880

Browse files
authored
fix UI's proxy websocket support in prod (#5709)
Signed-off-by: Francesco Ilario <[email protected]>
1 parent 8e0accd commit d968880

File tree

1 file changed

+2
-0
lines changed
  • components/konflux-ui/production/base/proxy

1 file changed

+2
-0
lines changed

components/konflux-ui/production/base/proxy/nginx.conf

+2
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ http {
130130
location /wss/k8s/ {
131131
auth_request /oauth2/auth;
132132

133+
rewrite /wss/k8s/(.+) /$1 break;
134+
proxy_pass https://kubernetes.default.svc/;
133135
proxy_http_version 1.1;
134136
proxy_set_header Upgrade $http_upgrade;
135137
proxy_set_header Connection $connection_upgrade;

0 commit comments

Comments
 (0)