blob: 886bbe02c946cf0c2be4eea443d189c6f980c0eb [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If you want to set the specified configuration value, you can set the new
# in this file. For example if you want to specify the etcd address:
#
etcd:
host:
- "http://etcd:2379"
resync_delay: 0
apisix:
id: "apisix-server1"
admin_key:
- name: "admin"
key: edd1c9f034335f136f87ad84b625c8f1
role: admin
allow_admin:
- 0.0.0.0/0
admin_listen:
ip: 0.0.0.0
port: 9180
enable_control: true
control:
ip: "0.0.0.0"
port: 9090
stream_proxy:
only: false
tcp:
- addr: 10090
- addr: 10091
- addr: 10092
- addr: 10093
tls: true
udp:
- 10095
nginx_config:
error_log_level: "debug"
plugin_attr:
server-info:
report_interval: 60
report_ttl: 3600
prometheus:
export_uri: /apisix/prometheus/metrics
enable_export_server: true
export_addr:
ip: "0.0.0.0"
port: 9091