Skip to content

Commit

Permalink
🐛 fix api port 80
Browse files Browse the repository at this point in the history
  • Loading branch information
lazhenyi committed Nov 20, 2024
1 parent 990f8bd commit 8ca7d87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ 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 @@ -20,18 +21,17 @@ spec:
- host: devcloud.gitdata.ai
http:
paths:
- path: /
- path: ~ ^/api/.*$
pathType: Prefix
backend:
service:
name: gitdata-rust-service
name: jzfs-rust-service
port:
number: 80

- path: /api
- path: /
pathType: Prefix
backend:
service:
name: jzfs-rust-service
name: gitdata-rust-service
port:
number: 80

0 comments on commit 8ca7d87

Please sign in to comment.