add dataplaneapi for --save-map-files, and bugfix some small things. custom domain/backendip working pretty well now

This commit is contained in:
Thomas Lynch
2021-12-27 20:38:20 +11:00
parent 9557c06aa1
commit 06b28c8650
5 changed files with 49 additions and 7 deletions

29
haproxy/dataplaneapi.hcl Normal file
View File

@@ -0,0 +1,29 @@
config_version = 2
name = "meet_bedbug"
mode = "single"
dataplaneapi {
user "admin" {
insecure = true
password = "adminpwd"
}
transaction {
transaction_dir = "/tmp/haproxy"
}
advertised {}
}
haproxy {
config_file = "/etc/haproxy/haproxy.cfg"
haproxy_bin = "/usr/local/sbin/haproxy"
reload {
reload_delay = 5
reload_cmd = "service haproxy reload"
restart_cmd = "service haproxy restart"
}
}