mirror of
https://github.com/wahyd4/ingress-nginx.git
synced 2026-08-08 21:06:47 +10:00
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user