Test with updated dataplaneapi for map fix and exclusing backends in sync, change to .yml, and empty backends map

This commit is contained in:
Thomas Lynch
2023-09-03 01:16:14 +10:00
parent 96fef80694
commit d687e54d17
6 changed files with 60 additions and 10 deletions

28
haproxy/dataplaneapi.yml Normal file
View File

@ -0,0 +1,28 @@
---
config_version: 2
dataplaneapi:
tls:
host: 127.0.0.1
port: 2001
resources:
update_map_files: true
maps_dir: /etc/haproxy/map
ssl_certs_dir: /etc/haproxy/ssl
scheme:
- http
transaction:
transaction_dir: /tmp/haproxy
user:
- admin:
name: admin
insecure: true
haproxy:
config_file: /etc/haproxy/haproxy.cfg
haproxy_bin: /usr/local/sbin/haproxy
reload:
reload_cmd: service haproxy reload
restart_cmd: service haproxy restart
reload_delay: 5
reload_strategy: systemd
mode: single
name: basedflare