pc10201 opened a new issue #3205:
URL: https://github.com/apache/apisix/issues/3205


    apisix version 2.1
    
   curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   > {
   >     "server_addr": "0.0.0.0",
   >     "server_port": 2000,
   >     "upstream": {
   >         "nodes": {
   >             "127.0.0.1:22": 1
   >         },
   >         "type": "roundrobin"
   >     }
   > ,
   >     "plugins": {
   >         "ip-restriction": {
   >             "whitelist": [
   >                 "127.0.0.1",
   >                 "113.74.26.106/24"
   >             ]
   >         }
   >     }
   > }'
   {"error_msg":"unknown plugin [ip-restriction]"}
   
   


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


Reply via email to