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;
}
location ~^/(api|admin)/ {
proxy_set_header Host $host;
proxy_pass http://backend-svc.django.svc.cluster.local:80;
}
# location ~^/(api|admin)/ {
# proxy_set_header Host $host;
# proxy_pass http://backend-svc.django.svc.cluster.local:80;
# }
location ~^/workspaces-v2/(.+).js {
rewrite /workspaces-v2/(.+) /$1 break;

View File

@ -168,7 +168,7 @@ spec:
tls:
credentialName: camunda-optimize-tls
virtualServices:
platform:
platform-frontend:
name: sarex-frontend-virt-service
namespace: gateway
hosts:
@ -180,6 +180,18 @@ spec:
prefix: /
service: frontend-svc.django.svc.cluster.local
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:
name: vault-virt-service
namespace: gateway