global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats timeout 30s
user haproxy
group haproxy
daemon
defaults
log global
mode tcp
option httplog
option dontlognull
timeout connect 5000
timeout client 500000
timeout server 500000
listen stats *:1936
mode http
log global
maxconn 10
clitimeout 100s
srvtimeout 100s
contimeout 100s
timeout queue 100s
stats enable
stats hide-version
stats refresh 30s
stats show-node
stats auth admin:admin
stats uri /haproxy?stats
frontend http_front
bind *:80
default_backend http_back
backend http_back
balance roundrobin
option tcp-check
server main 178.22.45.82:80 check
server lte 85.26.192.43:80 check backup
frontend https_front
bind *:443
default_backend https_back
backend https_back
balance roundrobin
option tcp-check
server main 178.22.45.82:443 check
server lte 85.26.192.43:443 check backup
frontend https8443_front
bind *:8443
default_backend https8443_back
backend https8443_back
balance roundrobin
option tcp-check
server main 178.22.45.82:8443 check
server lte 85.26.192.43:8443 check backup
frontend https2205_front
bind *:2205
default_backend https2205_back
backend https2205_back
balance roundrobin
option tcp-check
server main 178.22.45.82:2205 check
server lte 85.26.192.43:2205 check backup
frontend https6443_front
bind *:6443
default_backend https6443_back
backend https6443_back
balance roundrobin
option tcp-check
server main 178.22.45.82:6443 check
server lte 85.26.192.43:6443 check backup
frontend https22_front
bind *:22
default_backend https22_back
backend https22_back
balance roundrobin
option tcp-check
server main 178.22.45.82:22 check
server lte 85.26.192.43:22 check backup
frontend https5000_front
bind *:5000
default_backend https5000_back
backend https5000_back
balance roundrobin
option tcp-check
server main 178.22.45.82:5000 check
server lte 85.26.192.43:5000 check backup
frontend s3miniofront
bind *:9000
default_backend s3minioback
backend s3minioback
balance roundrobin
option tcp-check
server main 178.22.45.82:9000 check
server lte 85.26.192.43:9000 check backup