Description
Currently the regex_uri field in plugin proxy_rewrite is a slice type and only supports containing exactly 2 parameters, the first one is what matched, and the second is where to go. IMO, multiple regex pattern matching is a very common need, so we don't need to write multiple proxy configs in one single rule.
So I have a proposal if we can support an even number of parameters(compatible with the previous version)?
Description
Currently the
regex_urifield in pluginproxy_rewriteis a slice type and only supports containing exactly 2 parameters, the first one iswhat matched, and the second iswhere to go. IMO, multiple regex pattern matching is a very common need, so we don't need to write multiple proxy configs in one single rule.So I have a proposal if we can support an even number of parameters(compatible with the previous version)?