Fix bug with haproxy config for blocked address
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 52s
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 52s
This commit is contained in:
1 parent
58fa6d8aba
commit
15c7f40b2e
1 file changed
-1
@@ -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