So relatively new to Istio and have a question regarding Istio. Say that I want to rewrite a URI based on a path, but use part of that original uri in the rewrite, is that something I could do with Regex? I'm imagining something like this
http:
- match:
- uri:
regex: ^/(.*\s*)?(canary)(.*)?$
rewrite:
prefix: "/$1"
Where $1 would be a matching group on the uri regex. Is something like that possible?