summaryrefslogtreecommitdiff
path: root/etc/haproxy.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'etc/haproxy.cfg')
-rw-r--r--etc/haproxy.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/haproxy.cfg b/etc/haproxy.cfg
index a14c916..43ef958 100644
--- a/etc/haproxy.cfg
+++ b/etc/haproxy.cfg
@@ -20,6 +20,10 @@ mailers smtp
mailer defiant defiant:25
mailer firebrand firebrand:25
+peers randomlan
+ peer defiant defiant:1024
+ peer firebrand firebrand:1024
+
# HTTP
listen http
description Apache HTTP
@@ -33,6 +37,8 @@ listen https
description Apache HTTPS
bind *:443
mode tcp
+ stick-table type ip size 20k peers randomlan
+ stick on src
server defiant defiant:11443 send-proxy-v2 observe layer4 check
server firebrand firebrand:11443 send-proxy-v2 observe layer4 check