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 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}"}`, }, ], },