mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
add dataplaneapi for --save-map-files, and bugfix some small things. custom domain/backendip working pretty well now
This commit is contained in:
29
haproxy/dataplaneapi.hcl
Normal file
29
haproxy/dataplaneapi.hcl
Normal 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"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user