This commit is contained in:
ivan 2026-05-12 14:18:33 +05:00
parent 726cd2653c
commit b544ba486e
2 changed files with 17 additions and 4 deletions

View File

@ -79,10 +79,10 @@ data:
# proxy_pass http://backend-svc.django.svc.cluster.local:80;
# }
location ~^/workspaces-v2/(.+).js {
rewrite /workspaces-v2/(.+) /$1 break;
proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
}
# location ~^/workspaces-v2/(.+).js {
# rewrite /workspaces-v2/(.+) /$1 break;
# proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
# }
location @index {
add_header Cache-Control 'no-cache, must-revalidate, proxy-revalidate, max-age=0';

View File

@ -325,6 +325,19 @@ spec:
rewrite: /api/
service: backend-svc.workspaces.svc.cluster.local
port: 80
workspaces-frontend:
name: workspaces-frontend-virt-service
namespace: gateway
hosts:
- sarex.contour.infra.sarex.tech
gateways:
- gateway/platform-gateway
routes:
- path:
prefix: /workspaces-v2/
rewrite: /
service: frontend-svc.workspaces.svc.cluster.local
port: 80
documentations-frontend:
name: documentations-frontend-virt-service
namespace: gateway