Skip to content

Instantly share code, notes, and snippets.

Created May 31, 2023 16:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Announcing HAProxy 2.8
mailers smtp_servers
mailer mailserver1
email-alert mailers smtp_servers
email-alert from
email-alert to
email-alert level info
lua-load /etc/haproxy/mailers.lua
httpclient.resolvers.disabled on
backend webservers
balance roundrobin
server web1 check maxconn 30
filter compression
compression direction both
compression offload
compression algo-req gzip
compression type-req application/json
compression algo-res gzip
compression type-res text/css text/html text/javascript text/plain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment