|
16 | 16 | # |
17 | 17 |
|
18 | 18 | conf: |
19 | | - listen: |
20 | | - host: 127.0.0.1 # `manager api` listening ip or host name |
21 | | - port: 9000 # `manager api` listening port |
22 | | - allow_list: # If we don't set any IP list, then any IP access is allowed by default. |
23 | | - - 127.0.0.0/24 |
| 19 | + listen: # yamllint disable rule:comments-indentation |
| 20 | + # host: 127.0.0.1 # the address on which the `Manager API` should listen. |
| 21 | + # The default value is 0.0.0.0, if want to specify, please enable it. |
| 22 | + # This value accepts IPv4, IPv6, and hostname. |
| 23 | + port: 9000 # The port on which the `Manager API` should listen. |
| 24 | + allow_list: # If we don't set any IP list, then any IP access is allowed by default. |
| 25 | + - 127.0.0.1 # The rules are checked in sequence until the first match is found. |
| 26 | + - ::1 # In this example, access is allowed only for IPv4 network 127.0.0.1, and for IPv6 network ::1. |
| 27 | + # It also support CIDR like 192.168.1.0/24 and 2001:0db8::/32 |
24 | 28 | etcd: |
25 | | - endpoints: # supports defining multiple etcd host addresses for an etcd cluster |
| 29 | + endpoints: # supports defining multiple etcd host addresses for an etcd cluster |
26 | 30 | - 127.0.0.1:2379 |
27 | 31 | # yamllint disable rule:comments-indentation |
28 | 32 | # etcd basic auth info |
|
32 | 36 | key_file: "" # Path of your self-signed client side key |
33 | 37 | cert_file: "" # Path of your self-signed client side cert |
34 | 38 | ca_file: "" # Path of your self-signed ca cert, the CA is used to sign callers' certificates |
35 | | - # prefix: /apisix # apisix config's prefix in etcd, /apisix by default |
| 39 | + # prefix: /apisix # apisix config's prefix in etcd, /apisix by default |
36 | 40 | log: |
37 | 41 | error_log: |
38 | 42 | level: warn # supports levels, lower to higher: debug, info, warn, error, panic, fatal |
|
0 commit comments