diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-03 21:40:13 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-03 21:40:13 +0000 |
commit | 618dc474dd34a93849da2e67fe215f4acf889eeb (patch) | |
tree | 83b8e8ef4a6a1423dcc8bde6ca6232eaf3aa4a47 | |
parent | Use Apache's own proxy protocol support (diff) | |
download | config-618dc474dd34a93849da2e67fe215f4acf889eeb.tar.bz2 config-618dc474dd34a93849da2e67fe215f4acf889eeb.tar.xz config-618dc474dd34a93849da2e67fe215f4acf889eeb.zip |
Add haproxy mailer configuration
-rw-r--r-- | etc/haproxy.cfg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/haproxy.cfg b/etc/haproxy.cfg index cf060ec..7d9b990 100644 --- a/etc/haproxy.cfg +++ b/etc/haproxy.cfg @@ -10,6 +10,14 @@ defaults balance roundrobin option redispatch default-server on-error fail-check inter 5m fastinter 1m downinter 10s + email-alert from haproxy@random.lan + email-alert to randomdan@random.lan + email-alert level alert + email-alert mailers smtp + +mailers smtp + mailer defiant defiant:25 + mailer firebrand firebrand:25 # HTTP listen http |