aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/haproxy
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-15 13:47:56 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-15 13:47:56 +0000
commit5a2d75df546df3321b3a20ebe84dae2f91019e84 (patch)
treeca27e5395beee772dc4931110018e135700c7a05 /terminaldweller.com/haproxy
parentupdates (diff)
downloadscripts-5a2d75df546df3321b3a20ebe84dae2f91019e84.tar.gz
scripts-5a2d75df546df3321b3a20ebe84dae2f91019e84.zip
secrets
Diffstat (limited to 'terminaldweller.com/haproxy')
-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