Skip to content

Commit

Permalink
Merge pull request #3731 from Shopify/rewrite-target-doc-fix
Browse files Browse the repository at this point in the history
Update a doc example that uses rewrite-target
  • Loading branch information
k8s-ci-robot authored Feb 6, 2019
2 parents 3db1dc1 + 18ebb68 commit 6c58f3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user-guide/ingress-path-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ kind: Ingress
metadata:
name: test-ingress-2
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- host: test.com
http:
paths:
- path: /foo/bar/.+
- path: /foo/bar/(.+)
backend:
serviceName: service3
servicePort: 80
Expand Down

0 comments on commit 6c58f3d

Please sign in to comment.