Fix bug with haproxy config for blocked address
All checks were successful
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 52s
All checks were successful
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 52s
This commit is contained in:
@@ -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 }
|
||||
|
Reference in New Issue
Block a user