++
This commit is contained in:
parent
726cd2653c
commit
b544ba486e
@ -79,10 +79,10 @@ data:
|
|||||||
# 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;
|
||||||
proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
|
# proxy_pass http://frontend-svc.workspaces.svc.cluster.local:80;
|
||||||
}
|
# }
|
||||||
|
|
||||||
location @index {
|
location @index {
|
||||||
add_header Cache-Control 'no-cache, must-revalidate, proxy-revalidate, max-age=0';
|
add_header Cache-Control 'no-cache, must-revalidate, proxy-revalidate, max-age=0';
|
||||||
|
|||||||
@ -325,6 +325,19 @@ spec:
|
|||||||
rewrite: /api/
|
rewrite: /api/
|
||||||
service: backend-svc.workspaces.svc.cluster.local
|
service: backend-svc.workspaces.svc.cluster.local
|
||||||
port: 80
|
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:
|
documentations-frontend:
|
||||||
name: documentations-frontend-virt-service
|
name: documentations-frontend-virt-service
|
||||||
namespace: gateway
|
namespace: gateway
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user