1
0
Fork 0
mirror of synced 2024-06-22 16:10:40 +12:00

fixes for production envoy config

This commit is contained in:
Martin McKeaveney 2021-05-20 21:06:08 +01:00
parent 7b4cc64bee
commit bc51f0f91c

View file

@ -21,15 +21,27 @@ static_resources:
cluster: app-service
prefix_rewrite: "/"
- match: { path: "/" }
- match: { prefix: "/builder/" }
route:
cluster: app-service
- match: { prefix: "/builder" }
route:
cluster: app-service
- match: { prefix: "/app_" }
route:
cluster: app-service
# special case for worker admin API
- match: { path: "/api/admin" }
- match: { prefix: "/api/admin/" }
route:
cluster: worker-service
- match: { path: "/" }
route:
cluster: app-service
# special case for when API requests are made, can just forward, not to minio
- match: { prefix: "/api/" }
route: