bigfish02 opened a new issue, #11416:
URL: https://github.com/apache/apisix/issues/11416

   ### Description
   
   how to configure dirfferent rule for consumer and uri. exmaple, I want set  
limit-count plugin (10 qps) for consumer1 with  xxx.com/uri1 , and set 
limit-count plugin (20 qps) for consumer1 with xxx.com/uri2.(same consumer with 
different uri).
   
   ```
   curl http://127.0.0.1:9180/apisix/admin/consumers \
   -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "username": "jack",
       "plugins": {
           "key-auth": {
               "key": "auth-one"
           },
           "limit-count": {
               "count": 2,
               "time_window": 60,
               "rejected_code": 503,
               "key": "remote_addr"
           }
       }
   }'
   ```
   
   it seems one consumer can only set one limit-count plugin for all uri.
   
   ### Environment
   
   - APISIX version 3.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]

Reply via email to