Update README.md

This commit is contained in:
Andy Chen 2020-01-11 16:56:57 -08:00 committed by GitHub
parent 079acd399b
commit 6fbf185812

View file

@ -56,6 +56,7 @@ spec:
In this ingress definition, any characters captured by `(.*)` will be assigned to the placeholder `$2`, which is then used as a parameter in the `rewrite-target` annotation.
For example, the ingress definition above will result in the following rewrites:
- `rewrite.bar.com/something` rewrites to `rewrite.bar.com/`
- `rewrite.bar.com/something/` rewrites to `rewrite.bar.com/`
- `rewrite.bar.com/something/new` rewrites to `rewrite.bar.com/new`