summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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