I want to add IngressRoute
which can handle following Host /Path
- kind: Rule
match: Host(`api.domain.com`) && PathPrefix(`/api/v1/user/<id>/verify/?code=<verification code>`)
Here id
& verification code
is numeric. Do I need to use middleware for RegEx ?
This doc suggest https://doc.traefik.io/traefik/routing/routers/#rule I can use something
PathPrefix(`/products/`, `/articles/{cat:[a-z]+}/{id:[0-9]+}`)
Need some example if someone can provide