File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ port = 1104
13
13
include = " /etc/stns/conf.d/*"
14
14
module_path = " /usr/local/stns/modules.d"
15
15
load_module = " mod_stns_etcd.so"
16
+ allow_ips = [" 10.0.0.1/24" ]
16
17
# basic auth
17
18
[basic_auth ]
18
19
user = " basic_user"
@@ -52,6 +53,7 @@ endpoints = ["http://127.0.0.1:2379"]
52
53
| include| include config directory| -|
53
54
| module_path| module include path| /usr/local/stns/modules.d|
54
55
| load_module| include module name| -|
56
+ | allow_ips| allow ip(subnet) list| -|
55
57
| basic_auth - user| basic authentication user(env: STNS_BASIC_AUTH_USER )| -|
56
58
| basic_auth - password| basic authentication password(env: STNS_BASIC_AUTH_PASSWORD )| -|
57
59
| token_auth - tokens| token authentication tokens(env: STNS_AUTH_TOKEN separator is ` , ` )| -|
You can’t perform that action at this time.
0 commit comments