Skip to content

Commit

Permalink
fix(server): update apisix plugin try-path conf (#1465)
Browse files Browse the repository at this point in the history
* fix: update apisix plugin `try-path` conf

* chore(build): upgrade apisix-with-plugins v0.0.4
  • Loading branch information
0fatal committed Aug 16, 2023
1 parent 414f518 commit ed6061d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/charts/apisix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion server/src/gateway/apisix.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}"}`,
},
],
},
Expand Down

0 comments on commit ed6061d

Please sign in to comment.