tzssangglass commented on issue #4140:
URL: https://github.com/apache/apisix/issues/4140#issuecomment-827507578
you can use `proxy-rewrite` plugin to do this, config as
```json
"plugins": {
"proxy-rewrite": {
"regex_uri": ["^/foo/(.*)","/$1"]
}
}
```
This will change the url of the request from `/foo/a/b/c` to `/a/b/c`
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]