nfrankel commented on issue #11344:
URL: https://github.com/apache/apisix/issues/11344#issuecomment-2156781164
You should probably use the `regex_uri` configuration parameter.
Here's a snippet to remove the v1 prefix and leave the rest untouched:
```json
{
"plugins": {
"proxy-rewrite": {
"regex_uri": ["/v1(.*)", "$1"]
}
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]