2019-06-03 16:15:57 +08:00
|
|
|
apisix:
|
2019-06-05 10:22:24 +08:00
|
|
|
node_listen: 9080 # Apisix listening port
|
2019-06-10 16:43:13 +08:00
|
|
|
enable_heartbeat: true
|
2019-06-13 12:01:36 +08:00
|
|
|
enable_admin: true
|
|
|
|
allow_admin: "127.0.0.1/24"
|
2019-06-03 16:15:57 +08:00
|
|
|
|
2019-04-11 16:53:21 +08:00
|
|
|
etcd:
|
2019-06-05 10:22:24 +08:00
|
|
|
host: "http://127.0.0.1:2379" # etcd address
|
2019-06-05 14:21:25 +08:00
|
|
|
prefix: "/apisix" # apisix configurations prefix
|
2019-06-13 12:01:36 +08:00
|
|
|
timeout: 1 # 1 seconds
|
2019-05-06 10:14:39 +08:00
|
|
|
|
2019-06-13 12:01:36 +08:00
|
|
|
plugins: # plugin list
|
2019-05-07 15:58:44 +08:00
|
|
|
- example-plugin
|
2019-05-20 16:50:43 +08:00
|
|
|
- limit-req
|
2019-05-21 11:17:46 +08:00
|
|
|
- limit-count
|
2019-05-23 15:19:07 +08:00
|
|
|
- key-auth
|
2019-05-24 22:38:40 +08:00
|
|
|
- prometheus
|
2019-06-11 17:31:40 +08:00
|
|
|
- limit-conn
|