This commit is contained in:
parent
c5e194c8e5
commit
5d59b2350f
22
haproxy.cfg
22
haproxy.cfg
@ -39,17 +39,29 @@ listen stats
|
|||||||
stats uri /
|
stats uri /
|
||||||
stats refresh 5s
|
stats refresh 5s
|
||||||
|
|
||||||
frontend http
|
frontend birb
|
||||||
bind 0.0.0.0:80
|
bind 0.0.0.0:80
|
||||||
mode http
|
mode http
|
||||||
use_backend kube
|
use_backend birb
|
||||||
|
|
||||||
backend kube
|
backend birb
|
||||||
balance leastconn
|
balance leastconn
|
||||||
mode http
|
mode http
|
||||||
http-request set-header Host "birb.k8s.kmlabz.com"
|
http-request set-header Host "birb.k8s.kmlabz.com"
|
||||||
compression algo gzip
|
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
|
listen mqtt
|
||||||
bind *:1883
|
bind *:1883
|
||||||
@ -59,4 +71,4 @@ listen mqtt
|
|||||||
timeout server 3h
|
timeout server 3h
|
||||||
option tcplog
|
option tcplog
|
||||||
balance leastconn
|
balance leastconn
|
||||||
server worker1 zelenka.tormakristof.eu:8883 check ssl verify none
|
server worker1 lb-1.kmlabz.com:8883 check ssl verify none
|
||||||
|
Loading…
Reference in New Issue
Block a user