cnz101 opened a new issue, #12016:
URL: https://github.com/apache/apisix/issues/12016
### Description
when xx/bin/apisix start, the error log is :
`
failed to validate config: property "apisix" validation failed: property
"ssl" validation failed: property "listen" validation failed: failed to
validate item 1: wrong type: expected object, got number
`
here is my conf.yaml:
`
apisix:
admin_key:
- name: admin
key: APISIX_API_KEY
role: admin
allow_admin:
- 127.0.0.0/24
enable_ipv6: false
admin_listen:
ip: 127.0.0.1
port: 9080
https_admin: true
disable_sync_configuration_during_start: true
admin_api_mtls:
admin_ssl_cert:
/opt/cloud/gateway/apisix/apisix/conf/cert/ssl_PLACE_HOLDER.crt
admin_ssl_cert_key:
/opt/cloud/gateway/apisix/apisix/conf/cert/ssl_PLACE_HOLDER.key
ssl:
listen:
- 9443
ssl_trusted_certificate: /opt/cloud/gateway/apisix/certs/ca.crt
ssl_ciphers:
ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
etcd:
host:
- https://xx.xx.xx.xx:2379
- https://xx.x.x.x:2379
- https://x.x.x.x:2379
prefix: /apisix
timeout: 30
user: apisix
password: PASSWORD
tls:
verify: false
nginx_config:
error_log: /var/log/gateway/apisix/error.log
http:
access_log: /var/log/gateway/apisix/access.log
`
### Environment
- APISIX version (run `apisix version`): 3.9.1
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):3.8
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org