[GitHub] [apisix] moonming commented on a change in pull request #2244: bugfix(CLI): if the user used default token and allow any IP to acces…

2020-09-18 Thread GitBox
moonming commented on a change in pull request #2244: URL: https://github.com/apache/apisix/pull/2244#discussion_r490816408 ## File path: bin/apisix ## @@ -812,6 +814,52 @@ local function init() end -- print("etcd: ", yaml_conf.etcd.host) +-- check the Admin API

[GitHub] [apisix] moonming commented on a change in pull request #2244: bugfix(CLI): if the user used default token and allow any IP to acces…

2020-09-17 Thread GitBox
moonming commented on a change in pull request #2244: URL: https://github.com/apache/apisix/pull/2244#discussion_r490027799 ## File path: bin/apisix ## @@ -799,6 +799,8 @@ version:print the version of apisix ]]) end + +local is_checked_admin_key Review comment:

[GitHub] [apisix] moonming commented on a change in pull request #2244: bugfix(CLI): if the user used default token and allow any IP to acces…

2020-09-17 Thread GitBox
moonming commented on a change in pull request #2244: URL: https://github.com/apache/apisix/pull/2244#discussion_r490026730 ## File path: conf/config.yaml ## @@ -21,3 +21,9 @@ # host: # - "http://127.0.0.1:2379"; # +apisix: + admin_key: +- + name: "admin"