mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
update config for crawler-whitelist, cleanup a few things in the example
This commit is contained in:
@@ -5,13 +5,11 @@ name = "basedflare"
|
||||
mode = "single"
|
||||
|
||||
dataplaneapi {
|
||||
host = "127.0.0.1"
|
||||
port = 2001
|
||||
host = "127.0.0.1"
|
||||
port = 2001
|
||||
advertised = {}
|
||||
|
||||
user "admin" {
|
||||
insecure = true
|
||||
password = "admin"
|
||||
}
|
||||
scheme = ["http"]
|
||||
|
||||
transaction {
|
||||
transaction_dir = "/tmp/haproxy"
|
||||
@@ -22,7 +20,10 @@ dataplaneapi {
|
||||
ssl_certs_dir = "/etc/haproxy/ssl"
|
||||
}
|
||||
|
||||
advertised {}
|
||||
user "admin" {
|
||||
insecure = true
|
||||
password = "admin"
|
||||
}
|
||||
}
|
||||
|
||||
haproxy {
|
||||
|
Reference in New Issue
Block a user