set correct port for worker

This commit is contained in:
Martin McKeaveney 2022-02-11 15:39:18 +01:00
parent b6320f14cc
commit e1f78a326b
1 changed files with 2 additions and 2 deletions

View File

@ -76,11 +76,11 @@ http {
} }
location ~ ^/api/(system|admin|global)/ { location ~ ^/api/(system|admin|global)/ {
proxy_pass http://worker-service.budibase.svc.cluster.local:4003; proxy_pass http://worker-service.budibase.svc.cluster.local:4001;
} }
location /worker/ { location /worker/ {
proxy_pass http://worker-service.budibase.svc.cluster.local:4003; proxy_pass http://worker-service.budibase.svc.cluster.local:4001;
rewrite ^/worker/(.*)$ /$1 break; rewrite ^/worker/(.*)$ /$1 break;
} }