apisix/conf/config.yaml
YuanSheng Wang 72e0fe2393
feature: supported to collect nginx status and pushed it to etcd. (#149)
* 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.
2019-06-22 08:24:02 +08:00

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