mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
30 lines
442 B
HCL
30 lines
442 B
HCL
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"
|
|
}
|
|
}
|