This is an automated email from the ASF dual-hosted git repository.
membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git
The following commit(s) were added to refs/heads/master by this push:
new 4229f86 chore: make allow_admin 0.0.0.0/0 for test (#93)
4229f86 is described below
commit 4229f8616e6af0bb65103770557ade5a1f241b49
Author: kv <[email protected]>
AuthorDate: Tue Dec 1 22:34:02 2020 +0800
chore: make allow_admin 0.0.0.0/0 for test (#93)
fix #84
fix #85
---
example/apisix_conf/config.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/example/apisix_conf/config.yaml b/example/apisix_conf/config.yaml
index 7b83475..73ba6a9 100644
--- a/example/apisix_conf/config.yaml
+++ b/example/apisix_conf/config.yaml
@@ -3,8 +3,7 @@ apisix:
enable_ipv6: false
allow_admin: #
http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
- - 127.0.0.0/24 # If we don't set any IP list, then any IP
access is allowed by default.
- - 172.17.0.0/24
+ - 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"