From 92e8e3e6b1fed1cba2c30dd9bb80cdea4e34fb0b Mon Sep 17 00:00:00 2001 From: 0fatal <2816813070@qq.com> Date: Tue, 15 Aug 2023 08:37:34 +0000 Subject: [PATCH 1/2] fix: update apisix plugin `try-path` conf --- server/src/gateway/apisix.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/gateway/apisix.service.ts b/server/src/gateway/apisix.service.ts index 329da0fadb..7a50e2b587 100644 --- a/server/src/gateway/apisix.service.ts +++ b/server/src/gateway/apisix.service.ts @@ -211,7 +211,7 @@ export class ApisixService { conf: [ { name: 'try-path', - value: `{\"paths\":[\"$uri\", \"$uri/\", \"/index.html\"], \"host\": \"http://${upstreamNode}/${website.bucketName}\"}`, + value: `{"paths":["$uri", "$uri/", "$uriindex.html", "$uri/index.html"], "host": "http://${upstreamNode}/${website.bucketName}"}`, }, ], }, From 8095fff5c07d33048d154388b9fcd4c016b85a77 Mon Sep 17 00:00:00 2001 From: 0fatal <2816813070@qq.com> Date: Wed, 16 Aug 2023 07:08:03 +0000 Subject: [PATCH 2/2] chore(build): upgrade apisix-with-plugins v0.0.4 --- build/charts/apisix/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/charts/apisix/values.yaml b/build/charts/apisix/values.yaml index 843cc94ae2..1246816b17 100644 --- a/build/charts/apisix/values.yaml +++ b/build/charts/apisix/values.yaml @@ -81,7 +81,7 @@ apisix: pullPolicy: IfNotPresent # -- Apache APISIX image tag # Overrides the image tag whose default is the chart appVersion. - tag: v0.0.3 + tag: v0.0.4 # -- Use a `DaemonSet` or `Deployment` kind: Deployment