Chapter 6. Installing Red Hat OpenShift 3.11 on IBM PowerVC 135
16.For the seven nodes deployment, update the HAProxy configuration to support HTTP and 
HTTPS, as shown in Example 6-10.
Example 6-10   HAProxy configuration 
cat > /etc/haproxy/haproxy.cfg <<EOF_haproxy.cfg
# Global settings
#---------------------------------------------------------------------
global
    maxconn     20000
    log         /dev/log local0 info
    chroot      /var/lib/haproxy
    pidfile     /var/run/haproxy.pid
    user        haproxy
    group       haproxy
    daemon
    # turn on stats unix socket
    stats socket /var/lib/haproxy/stats
#---------------------------------------------------------------------
# common defaults that all the 'listen' and 'backend' sections will
# use if not designated in their block
#---------------------------------------------------------------------
defaults
    mode                    http
    log                     global
    option                  httplog
    option                  dontlognull
# option http-server-close
#    option forwardfor       except 127.0.0.0/8
    option                  redispatch
    retries                 3
    timeout http-request    10s
    timeout queue           1m
    timeout connect         10s
    timeout client          300s
    timeout server          300s
    timeout http-keep-alive 10s
    timeout check           10s
    maxconn                 20000
listen stats
    bind :9000
    mode http
    stats enable
    stats uri /
frontend  atomic-openshift-api
    bind *:8443
    default_backend atomic-openshift-api
    mode tcp
    option tcplog
backend atomic-openshift-api
    balance source
    mode tcp
    server      master0 192.168.11.202:8443 check
    server      master1 192.168.11.203:8443 check
    server      master2 192.168.11.204:8443 check