From 9361c08228e65a63cbdbc1ce07f1314943c91329 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 6 May 2021 17:03:34 +0100 Subject: [PATCH] Re-ordering dev envoy file. --- hosting/envoy.dev.yaml.hbs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hosting/envoy.dev.yaml.hbs b/hosting/envoy.dev.yaml.hbs index cee70dbae5..e61c4e0706 100644 --- a/hosting/envoy.dev.yaml.hbs +++ b/hosting/envoy.dev.yaml.hbs @@ -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,15 +38,11 @@ static_resources: route: cluster: server-dev - - match: { path: "/" } - route: - cluster: builder-dev - - match: { prefix: "/app" } route: cluster: builder-dev prefix_rewrite: "/app/" - + # minio is on the default route because this works # best, minio + AWS SDK doesn't handle path proxy - match: { prefix: "/" }