github.com/SUSE/skuba@v1.4.17/ci/infra/vmware/cloud-init/haproxy.cfg.tpl (about)

     1  global 
     2    log /dev/log local0 debug
     3    user haproxy
     4    group haproxy
     5    daemon
     6  
     7  defaults
     8    mode      tcp
     9    log       global
    10    option    tcplog
    11    option    redispatch
    12    option    tcpka
    13    retries   2
    14    http-check     expect status 200
    15    default-server check check-ssl verify none
    16    timeout connect 5s
    17    timeout client 5s
    18    timeout server 5s
    19    timeout tunnel 86400s
    20  
    21  listen stats
    22    bind    *:9000
    23    mode    http
    24    stats   hide-version
    25    stats   uri       /stats
    26  
    27  listen apiserver
    28    bind    *:6443
    29    option  httpchk GET /healthz
    30    ${apiserver_backends}
    31  
    32  listen dex
    33    bind    *:32000
    34    option  httpchk GET /healthz
    35    ${dex_backends}
    36  
    37  listen gangway
    38    bind    *:32001
    39    option httpchk GET /
    40    ${gangway_backends}