2019-06-03 16:15:57 +08:00
|
|
|
apisix:
|
2019-06-05 10:22:24 +08:00
|
|
|
node_listen: 9080 # Apisix listening port
|
2019-07-04 22:44:57 +08:00
|
|
|
node_ssl_listen: 9443
|
2019-06-10 16:43:13 +08:00
|
|
|
enable_heartbeat: true
|
2019-06-13 12:01:36 +08:00
|
|
|
enable_admin: true
|
2019-06-17 15:57:02 +08:00
|
|
|
allow_admin: "127.0.0.0/24"
|
2019-07-03 21:03:17 +08:00
|
|
|
# port_admin: 9180 # use a separate port
|
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
|
2019-06-22 08:24:02 +08:00
|
|
|
- node-status
|