Re-ordering dev envoy file.

This commit is contained in:
mike12345567 2021-05-06 17:03:34 +01:00
parent 4b94d96b3d
commit 9361c08228
1 changed files with 6 additions and 5 deletions

View File

@ -16,6 +16,11 @@ static_resources:
- name: local_services
domains: ["*"]
routes:
# special case to redirect specifically the route path
# to the builder, if this were a prefix then it would break minio
- match: { path: "/" }
redirect: { path_redirect: "/app/" }
- match: { prefix: "/db/" }
route:
cluster: couchdb-service
@ -33,10 +38,6 @@ static_resources:
route:
cluster: server-dev
- match: { path: "/" }
route:
cluster: builder-dev
- match: { prefix: "/app" }
route:
cluster: builder-dev