Merge pull request #4099 from kppullin/patch-1
Docs - Update capture group `placeholder`
This commit is contained in:
commit
0f13d65b05
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ spec:
|
|||
' | kubectl create -f -
|
||||
```
|
||||
|
||||
In this ingress definition, any characters captured by `(.*)` will be assigned to the placeholder `$1`, which is then used as a parameter in the `rewrite-target` annotation.
|
||||
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/`
|
||||
|
|
Loading…
Reference in a new issue