zheng11581 opened a new issue #1689:
URL: https://github.com/apache/incubator-apisix/issues/1689


   ### Issue description
   1. vim /deploy/apisix/conf/config.yaml
     allow_admin:                  # 
http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
       - 0.0.0.0/0              # If we don't set any IP list, then any IP 
access is allowed by default.
   2. make reload
   3. curl -i http://172.17.232.117:9080/apisix/admin/routes -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1'
   HTTP/1.1 403 Forbidden
   Date: Wed, 10 Jun 2020 13:54:06 GMT
   Content-Type: text/html
   Content-Length: 150
   Connection: keep-alive
   Server: APISIX web server
   
   <html>
   <head><title>403 Forbidden</title></head>
   <body>
   <center><h1>403 Forbidden</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   
   
   ### Environment
   Ubuntu 16.04
   
   * apisix version (cmd: `apisix version`): 1.3
   * OS: Ubuntu 16.04
   


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