lasthourcloud/data/haproxy/dataplaneapi.hcl
Andras Bacsai 460ae85226
V2 (#111)
Just v2
2022-02-10 15:47:44 +01:00

30 lines
454 B
HCL

config_version = 2
name = "easy_gar"
mode = "single"
status = "null"
dataplaneapi {
host = "0.0.0.0"
port = 5555
transaction {
transaction_dir = "/tmp/haproxy"
}
advertised {
api_address = ""
api_port = 0
}
}
haproxy {
config_file = "/usr/local/etc/haproxy/haproxy.cfg"
haproxy_bin = "/usr/local/sbin/haproxy"
reload {
reload_delay = 2
reload_cmd = "kill -HUP 1"
restart_cmd = "kill -SIGUSR2 1"
}
}