Skip to content

Commit

Permalink
set port when forwarding requests to workspaces (#4430)
Browse files Browse the repository at this point in the history
The workspaces service listens on port 8000, so we need to explicitly
communicate on that port when passing requests to it.

Signed-off-by: Andy Sadler <[email protected]>
  • Loading branch information
sadlerap authored Aug 30, 2024
1 parent 1a25ff5 commit 21673ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui/base/proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ http {
# workspaces expects requests under the traditional API paths for
# kubernetes api servers, so we need to strip /api/k8s from them
rewrite ^/api/k8s/(.*)$ /$1 break;
proxy_pass http://workspaces-rest-api-server.workspaces-system.svc.cluster.local/;
proxy_pass http://workspaces-rest-api-server.workspaces-system.svc.cluster.local:8000/;
}

location /api/k8s/ {
Expand Down

0 comments on commit 21673ab

Please sign in to comment.