Changing route ordering in envoy dev.

This commit is contained in:
mike12345567 2021-04-01 16:56:17 +01:00
parent b52f0b5dc9
commit eb4a1270c8
1 changed files with 4 additions and 4 deletions

View File

@ -34,15 +34,15 @@ static_resources:
route: route:
cluster: server-dev cluster: server-dev
- match: { prefix: "/builder/" }
route:
cluster: builder-dev
- match: { prefix: "/builder" } - match: { prefix: "/builder" }
route: route:
cluster: builder-dev cluster: builder-dev
prefix_rewrite: "/builder/" prefix_rewrite: "/builder/"
- match: { prefix: "/builder/" }
route:
cluster: builder-dev
# 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: "/" }