gy09535 opened a new issue #3959:
URL: https://github.com/apache/apisix/issues/3959


   ### Issue description
   Now apisix support hosts and  paths as route, such as this config:
   
   ```
   a.com
   b.com
   
   /a
   /b
   ```
   
   But sometimes we have some business scenario should support host+path as 
route, such as:
    
   ```
   a.com /a
   b.com /b
   ``` 
   
   I have see the apisix route match radix-tree code, If we implementation 
this, we should split the route, I think this change is  very big. I have a 
proposal, should we write a plugin to support it, and in the plugin we create a 
sub radix-tree which spilt the route as the sub routes. we can use the plugin 
to do the verification.
   
   ### Environment
   * apisix version (cmd: `apisix version`):
   * OS (cmd: `uname -a`):
   * 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:
   


-- 
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:
us...@infra.apache.org


Reply via email to