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