From b52f0b5dc9fca305f63b8ad208720e59dc2092d5 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 1 Apr 2021 16:54:36 +0100 Subject: [PATCH] Re-writing prefix for going to /builder without end slash. --- hosting/envoy.dev.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosting/envoy.dev.yaml b/hosting/envoy.dev.yaml index 17c6a453de..04b1a7f696 100644 --- a/hosting/envoy.dev.yaml +++ b/hosting/envoy.dev.yaml @@ -34,11 +34,12 @@ static_resources: route: cluster: server-dev - - match: { prefix: "/builder/" } + - match: { prefix: "/builder" } route: cluster: builder-dev + prefix_rewrite: "/builder/" - - match: { prefix: "/builder" } + - match: { prefix: "/builder/" } route: cluster: builder-dev