mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-14 08:51:29 +08:00
72e0fe2393
* feature: supported to collect nginx status and pushed it to etcd. * the return value of the exported api is the same as the other methods in the plugin.
20 lines
456 B
YAML
20 lines
456 B
YAML
apisix:
|
|
node_listen: 9080 # Apisix listening port
|
|
enable_heartbeat: true
|
|
enable_admin: true
|
|
allow_admin: "127.0.0.0/24"
|
|
|
|
etcd:
|
|
host: "http://127.0.0.1:2379" # etcd address
|
|
prefix: "/apisix" # apisix configurations prefix
|
|
timeout: 1 # 1 seconds
|
|
|
|
plugins: # plugin list
|
|
- example-plugin
|
|
- limit-req
|
|
- limit-count
|
|
- key-auth
|
|
- prometheus
|
|
- limit-conn
|
|
- node-status
|