Re-ordering dev envoy file.
This commit is contained in:
parent
4b94d96b3d
commit
9361c08228
|
@ -16,6 +16,11 @@ static_resources:
|
||||||
- name: local_services
|
- name: local_services
|
||||||
domains: ["*"]
|
domains: ["*"]
|
||||||
routes:
|
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/" }
|
- match: { prefix: "/db/" }
|
||||||
route:
|
route:
|
||||||
cluster: couchdb-service
|
cluster: couchdb-service
|
||||||
|
@ -33,15 +38,11 @@ static_resources:
|
||||||
route:
|
route:
|
||||||
cluster: server-dev
|
cluster: server-dev
|
||||||
|
|
||||||
- match: { path: "/" }
|
|
||||||
route:
|
|
||||||
cluster: builder-dev
|
|
||||||
|
|
||||||
- match: { prefix: "/app" }
|
- match: { prefix: "/app" }
|
||||||
route:
|
route:
|
||||||
cluster: builder-dev
|
cluster: builder-dev
|
||||||
prefix_rewrite: "/app/"
|
prefix_rewrite: "/app/"
|
||||||
|
|
||||||
# minio is on the default route because this works
|
# minio is on the default route because this works
|
||||||
# best, minio + AWS SDK doesn't handle path proxy
|
# best, minio + AWS SDK doesn't handle path proxy
|
||||||
- match: { prefix: "/" }
|
- match: { prefix: "/" }
|
||||||
|
|
Loading…
Reference in New Issue