soulbird commented on issue #367:
URL: https://github.com/apache/apisix-docker/issues/367#issuecomment-1261588437

   It looks like you are using the latest version of the apisix image. In the 
latest apisix 2.99.0 version we introduced some [break 
changes](https://github.com/apache/apisix/blob/master/CHANGELOG.md#300-beta), 
it changed some configuration, we are putting the configuration Synchronized to 
the example, now you can refer to 
https://github.com/apache/apisix-docker/pull/366/files#diff-0b92a5887e8750a86009964b27e1c2411501faa60c91edee122fd235190afe58
 to adjust your configuration. Like:
   ```yaml
   deployment:
     admin:
       allow_admin:               # 
http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
         - 0.0.0.0/0              # We need to restrict ip access rules for 
security. 0.0.0.0/0 is for test.
   
       admin_key:
         - name: "admin"
           key: edd1c9f034335f136f87ad84b625c8f1
           role: admin                 # admin: manage all configuration data
   
         - name: "viewer"
           key: 4054f7cf07e344346cd3f287985e76a2
           role: viewer
   
     etcd:
       host:                           # it's possible to define multiple etcd 
hosts addresses of the same etcd cluster.
         - "http://etcd:2379";          # multiple etcd address
       prefix: "/apisix"               # apisix configurations prefix
       timeout: 30                     # 30 seconds
   ```
   


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