lasthourcloud/data/haproxy/dataplaneapi.hcl

30 lines
454 B
HCL
Raw Normal View History

2022-02-10 14:47:44 +00:00
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"
}
}