Skip to content

Commit

Permalink
🐛 not use regex
Browse files Browse the repository at this point in the history
  • Loading branch information
lazhenyi committed Nov 20, 2024
1 parent 8ca7d87 commit 94120b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ metadata:
nginx.ingress.kubernetes.io/proxy-read-timeout: "1800"
nginx.ingress.kubernetes.io/proxy-send-timeout: "1800"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/use-regex: "true"
labels:
apptype: gitdata-rust
app.kubernetes.io/managed-by: Helm
Expand All @@ -21,7 +20,7 @@ spec:
- host: devcloud.gitdata.ai
http:
paths:
- path: ~ ^/api/.*$
- path: /api(.*)
pathType: Prefix
backend:
service:
Expand Down

0 comments on commit 94120b1

Please sign in to comment.