This commit is contained in:
ivan 2026-04-24 14:22:33 +05:00
parent 20013a86c2
commit f4336284a6
2 changed files with 17 additions and 5 deletions

View File

@ -74,10 +74,10 @@ data:
proxy_pass http://backend-filestream-svc.documentations.svc.cluster.local:80; proxy_pass http://backend-filestream-svc.documentations.svc.cluster.local:80;
} }
location ~^/(api|admin)/ { # location ~^/(api|admin)/ {
proxy_set_header Host $host; # proxy_set_header Host $host;
proxy_pass http://backend-svc.django.svc.cluster.local:80; # proxy_pass http://backend-svc.django.svc.cluster.local:80;
} # }
location ~^/workspaces-v2/(.+).js { location ~^/workspaces-v2/(.+).js {
rewrite /workspaces-v2/(.+) /$1 break; rewrite /workspaces-v2/(.+) /$1 break;

View File

@ -168,7 +168,7 @@ spec:
tls: tls:
credentialName: camunda-optimize-tls credentialName: camunda-optimize-tls
virtualServices: virtualServices:
platform: platform-frontend:
name: sarex-frontend-virt-service name: sarex-frontend-virt-service
namespace: gateway namespace: gateway
hosts: hosts:
@ -180,6 +180,18 @@ spec:
prefix: / prefix: /
service: frontend-svc.django.svc.cluster.local service: frontend-svc.django.svc.cluster.local
port: 80 port: 80
platform-api:
name: sarex-backend-virt-service
namespace: gateway
hosts:
- sarex.contour.infra.sarex.tech
gateways:
- gateway/platform-gateway
routes:
- path:
prefix: /api/
service: backend-svc.django.svc.cluster.local
port: 80
vault: vault:
name: vault-virt-service name: vault-virt-service
namespace: gateway namespace: gateway