diff --git a/templates/hap_listener.tpl b/templates/hap_listener.tpl index 1276a04..cdd551b 100644 --- a/templates/hap_listener.tpl +++ b/templates/hap_listener.tpl @@ -8,5 +8,4 @@ frontend web # Map file: /etc/haproxy/blocked_ips.map # Runtime updates: echo "add map #0 IP_ADDRESS" | socat stdio /var/run/haproxy.sock http-request set-path /blocked-ip if { src -f /etc/haproxy/blocked_ips.map } - http-request set-status 403 if { src -f /etc/haproxy/blocked_ips.map } use_backend default-backend if { src -f /etc/haproxy/blocked_ips.map }