mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
Add health check setup in server registration
Add observe layer4 inter to default server line Fix 3rd nginx and update docker-compose Remove x-haproxy-cn header fetch because it only needs to be a static fetch of haproxy_cn, since the logic overwrite it to be equivalent
This commit is contained in:
@@ -169,7 +169,7 @@ backend haproxy-to-varnish-cache
|
||||
|
||||
backend servers
|
||||
balance roundrobin
|
||||
default-server ssl verify required ca-file ca-certificates.crt sni req.hdr(Host)
|
||||
default-server ssl verify required ca-file ca-certificates.crt sni req.hdr(Host) check observe layer4 inter 30
|
||||
use-server %[lua.get_server_names] if TRUE
|
||||
|
||||
backend bot_check_post_throttle
|
||||
|
Reference in New Issue
Block a user