summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-09 13:28:26 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-09 13:28:26 +0000
commit1c37262139e520c10fcc184e10d016fb6a44417c (patch)
tree602ce32537fecbb28e5d4f65561413f58dab9081
parentExplicit forward zone for dnswl to avoid bulk traffic block via ISPs (diff)
downloadconfig-1c37262139e520c10fcc184e10d016fb6a44417c.tar.bz2
config-1c37262139e520c10fcc184e10d016fb6a44417c.tar.xz
config-1c37262139e520c10fcc184e10d016fb6a44417c.zip
Add IMAPS stick table for haproxy
-rw-r--r--etc/haproxy.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/haproxy.cfg b/etc/haproxy.cfg
index 741eb28..96ebd64 100644
--- a/etc/haproxy.cfg
+++ b/etc/haproxy.cfg
@@ -71,6 +71,8 @@ listen imaps
description Courier IMAP
bind *:993
mode tcp
+ stick-table type ip size 20k peers randomlan
+ stick on src
timeout client 2h
timeout server 2h
default-server observe layer4 check check-ssl