++
This commit is contained in:
parent
8a0caeb23d
commit
2759040a63
@ -80,6 +80,8 @@ data:
|
|||||||
# }
|
# }
|
||||||
|
|
||||||
location ~^/workspaces-v2/(.+).js {
|
location ~^/workspaces-v2/(.+).js {
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection "";
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -325,19 +325,6 @@ 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
|
||||||
@ -386,7 +373,7 @@ spec:
|
|||||||
- gateway/platform-gateway
|
- gateway/platform-gateway
|
||||||
routes:
|
routes:
|
||||||
- path:
|
- path:
|
||||||
prefix: /documentations/filestream/
|
prefix: /files/api/
|
||||||
rewrite: /
|
rewrite: /
|
||||||
service: backend-filestream-svc.documentations.svc.cluster.local
|
service: backend-filestream-svc.documentations.svc.cluster.local
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user