++
This commit is contained in:
parent
726cd2653c
commit
b544ba486e
@ -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';
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user