29 lines
749 B
YAML
29 lines
749 B
YAML
apisix:
|
|
id: "apisix-gateway"
|
|
|
|
deployment:
|
|
role: traditional
|
|
role_traditional:
|
|
config_provider: etcd
|
|
admin:
|
|
allow_admin:
|
|
- 0.0.0.0/0
|
|
admin_key:
|
|
- name: "admin"
|
|
key: edd1c9f034335f136f87ad84b625c8f1
|
|
role: admin
|
|
etcd:
|
|
host:
|
|
- "http://etcd:2379"
|
|
prefix: "/apisix"
|
|
|
|
nginx_config:
|
|
custom_lua_shared_dict:
|
|
oauth_cache: 1m
|
|
http:
|
|
access_log: "/dev/stdout"
|
|
access_log_format: '{"time_local":"$time_local","client_ip":"$remote_addr","request":"$request","status":$status,"body_bytes_sent":$body_bytes_sent,"request_time":$request_time,"upstream_response_time":"$upstream_response_time"}'
|
|
access_log_format_escape: json
|
|
error_log: "/dev/stderr"
|
|
error_log_level: "warn"
|