Skip to content

Instantly share code, notes, and snippets.

View wtarreau's full-sized avatar

Willy Tarreau wtarreau

  • HAProxy Technologies
  • France
View GitHub Profile
@ponceto
ponceto / haproxy.cfg
Created December 19, 2025 16:35
HAProxy full configuration with throttling for IA bots
#-----------------------------------------------------------------------------
# global: please note the localpeer declaration
#-----------------------------------------------------------------------------
global
localpeer self
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin