From 5d59b2350f24f62838b3dae61098d706c33c5e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 27 Apr 2021 11:49:06 +0200 Subject: [PATCH] Update 'haproxy.cfg' --- haproxy.cfg | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/haproxy.cfg b/haproxy.cfg index 487d0e6..d7d704f 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -39,17 +39,29 @@ listen stats stats uri / stats refresh 5s -frontend http +frontend birb bind 0.0.0.0:80 mode http - use_backend kube + use_backend birb -backend kube +backend birb balance leastconn mode http http-request set-header Host "birb.k8s.kmlabz.com" compression algo gzip - server cloud zelenka.tormakristof.eu:443 check ssl verify none + server cloud lb-1.kmlabz.com:443 check ssl verify none + +frontend ursim + bind 0.0.0.0:81 + mode http + use_backend ursim + +backend ursim + balance leastconn + mode http + http-request set-header Host "ursim.k8s.kmlabz.com" + compression algo gzip + server cloud lb-1.kmlabz.com:443 check ssl verify none listen mqtt bind *:1883 @@ -59,4 +71,4 @@ listen mqtt timeout server 3h option tcplog balance leastconn - server worker1 zelenka.tormakristof.eu:8883 check ssl verify none + server worker1 lb-1.kmlabz.com:8883 check ssl verify none