Skip to content

Commit

Permalink
Update annotation-use-case.md
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlanni authored Nov 9, 2023
1 parent a850404 commit f76cda0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
higress.io/rewrite-target: "/$1"
higress.io/rewrite-target: "/$2"
name: demo
spec:
ingressClassName: higress
Expand All @@ -324,7 +324,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
higress.io/rewrite-target: "/v2/$1"
higress.io/rewrite-target: "/v2/$2"
name: demo
spec:
ingressClassName: higress
Expand Down

0 comments on commit f76cda0

Please sign in to comment.