mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
Test with updated dataplaneapi for map fix and exclusing backends in sync, change to .yml, and empty backends map
This commit is contained in:
28
haproxy/dataplaneapi.yml
Normal file
28
haproxy/dataplaneapi.yml
Normal 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
|
Reference in New Issue
Block a user