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 50000 timeout server 50000 frontend http_front bind *:80 stats uri /haproxy?stats stats auth admin:sBbGmTah67npAPvehEmi5q9NwS5GA default_backend webserversHTTP option http-server-close option forwardfor frontend https_front bind *:443 # stats uri /haproxy?stats # stats auth admin:sBbGmTah67npAPvehEmi5q9NwS5GA option forwardfor default_backend webserversHTTPS option http-server-close option forwardfor backend webserversHTTP balance roundrobin server web01.nicks.website 10.1.96.4:80 check # server server_name2 private_ip2:80 check backend webserversHTTPS balance roundrobin server web01.nicks.website 10.1.96.4:443 check