Rdebu commented on issue #4707:
URL: https://github.com/apache/apisix/issues/4707#issuecomment-889562018


   > @Rdebu Please give the reproduce steps.
   > 
   > And don't use attachments to describe the problem, which are not very 
friendly to mobile viewers and have hidden security issues.
   
   用apisix dashboad创建了一个上游和路由,分别是
   {
     "nodes": [
       {
         "host": "127.0.0.1",
         "port": 8001,
         "weight": 1
       }
     ],
     "timeout": {
       "connect": 6,
       "read": 6,
       "send": 6
     },
     "type": "roundrobin",
     "scheme": "http",
     "pass_host": "pass",
     "name": "user_admin",
     "desc": "user_admin"
   }
   
   
   
   {
     "uris": [
       "/*"
     ],
     "name": "limit_test",
     "desc": "限流测试",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "HEAD",
       "OPTIONS",
       "CONNECT",
       "TRACE"
     ],
     "hosts": [
       "127.0.0.1"
     ],
     "remote_addrs": [
       "127.0.0.1"
     ],
     "plugins": {
       "limit-req": {
         "burst": 2,
         "disable": false,
         "key": "remote_addr",
         "rate": 1,
         "rejected_code": 503
       }
     },
     "upstream_id": "365596454691013146",
     "labels": {
       "API_VERSION": "V1"
     },
     "status": 1
   }
   
   
   配置成功后访问http://localhost:8001/#/user/table 发现没有限流


-- 
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