Skip to content

Instantly share code, notes, and snippets.

@ryanvgates
Created March 23, 2022 20:15
Show Gist options
  • Save ryanvgates/86b20d7416fb19d2a660378f88f6a498 to your computer and use it in GitHub Desktop.
Save ryanvgates/86b20d7416fb19d2a660378f88f6a498 to your computer and use it in GitHub Desktop.
HA Proxy Multiple Sockets
listen stats # Define a listen section called "stats"
bind :9000 # Listen on port 9000
mode http
stats enable # Enable stats page
stats socket /tmp/haproxy.sock group telegraf mode 660 level user
stats socket /tmp/haproxy_sensu.sock group sensu mode 660 level user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment