Issue description
I can't find how to config apisix to support regular matching in uri. The nginx configuration is as follows:
location ~* /lib/([a-fA-F0-9]+)$ {
return 301 https://example.com/lib/all/$1;
}
Environment
- apisix version (cmd:
apisix version):2.2
- OS (cmd:
uname -a):ubantu
- OpenResty / Nginx version (cmd:
nginx -V or openresty -V):
- etcd version, if have (cmd: run
curl http://127.0.0.1:9090/v1/server_info to get the info from server-info API):
- apisix-dashboard version, if have:2.3
Issue description
I can't find how to config apisix to support regular matching in uri. The nginx configuration is as follows:
Environment
apisix version):2.2uname -a):ubantunginx -Voropenresty -V):curl http://127.0.0.1:9090/v1/server_infoto get the info from server-info API):