-
-
Save haproxytechblog/ee65ec3703ef89ce760fe656f7529580 to your computer and use it in GitHub Desktop.
Announcing HAProxy 2.8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mailers smtp_servers | |
| mailer mailserver1 mailserver1.example.com:25 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defaults | |
| email-alert mailers smtp_servers | |
| email-alert from haproxy@example.com | |
| email-alert to helpdesk@example.com | |
| email-alert level info |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global | |
| lua-load /etc/haproxy/mailers.lua |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global | |
| httpclient.resolvers.disabled on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| backend webservers | |
| balance roundrobin | |
| server web1 192.168.56.10:8080 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