From c032022fa8101cb872732a32abf0bbe28bd9394d Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 6 May 2021 16:38:18 +0100 Subject: [PATCH] Updating envoy configuration to allow pass through to minio again. --- hosting/envoy.dev.yaml.hbs | 6 +++--- hosting/envoy.yaml | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/hosting/envoy.dev.yaml.hbs b/hosting/envoy.dev.yaml.hbs index 3a7e73c89c..cee70dbae5 100644 --- a/hosting/envoy.dev.yaml.hbs +++ b/hosting/envoy.dev.yaml.hbs @@ -33,14 +33,14 @@ static_resources: route: cluster: server-dev - - match: { prefix: "/" } + - match: { path: "/" } route: cluster: builder-dev - - match: { prefix: "/builder" } + - match: { prefix: "/app" } route: cluster: builder-dev - prefix_rewrite: "/builder/" + prefix_rewrite: "/app/" # minio is on the default route because this works # best, minio + AWS SDK doesn't handle path proxy diff --git a/hosting/envoy.yaml b/hosting/envoy.yaml index d2202ff870..95db418352 100644 --- a/hosting/envoy.yaml +++ b/hosting/envoy.yaml @@ -21,7 +21,6 @@ static_resources: cluster: app-service prefix_rewrite: "/" - # special case for presenting our static self hosting page - match: { path: "/" } route: cluster: app-service