aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/haproxy/haproxy.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'terminaldweller.com/haproxy/haproxy.cfg')
-rw-r--r--terminaldweller.com/haproxy/haproxy.cfg10
1 files changed, 5 insertions, 5 deletions
diff --git a/terminaldweller.com/haproxy/haproxy.cfg b/terminaldweller.com/haproxy/haproxy.cfg
index b21026d..825b2b3 100644
--- a/terminaldweller.com/haproxy/haproxy.cfg
+++ b/terminaldweller.com/haproxy/haproxy.cfg
@@ -120,8 +120,9 @@ frontend https
# use_backend chat-backend-c2s if chat-host-s
frontend jabbber5222
bind *:5222
- mode http
- acl chat-host hdr_sub(host) -i chat.terminaldweller.com
+ timeout client 60s
+ mode tcp
+ acl chat-host req.ssl_sni -i chat.terminaldweller.com
use_backend chat-backend-c2s if chat-host
frontend jabber5223
bind *:5223
@@ -296,9 +297,8 @@ backend chat-backend-s
option ssl-hello-chk
server chat-host 130.185.121.80:5443
backend chat-backend-c2s
- #mode tcp
- mode http
- option forwardfor
+ mode tcp
+ option ssl-hello-chk
server chat-host 130.185.121.80:5222
backend chat-auth-backend-s
mode tcp