diff --git a/apps/django/base/nginx-configmap.yaml b/apps/django/base/nginx-configmap.yaml index 1464b62..9a4b780 100644 --- a/apps/django/base/nginx-configmap.yaml +++ b/apps/django/base/nginx-configmap.yaml @@ -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'; diff --git a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml index 58094a9..c38ccd4 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/istio-config.yaml @@ -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