From 5a2d75df546df3321b3a20ebe84dae2f91019e84 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 15 Jul 2022 18:17:56 +0430 Subject: secrets --- terminaldweller.com/haproxy/haproxy.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'terminaldweller.com/haproxy/haproxy.cfg') 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 -- cgit v1.2.3