github.com/mackerelio/mackerel-agent-plugins@v0.89.3/mackerel-plugin-haproxy/lib/test_haproxy.conf (about)

     1  global 
     2    maxconn 256
     3    #daemon
     4  
     5  defaults 
     6    mode    http
     7    timeout connect         10s
     8    timeout client          1m
     9    timeout server          1m
    10  
    11  listen hastats *:18080
    12    mode http
    13    maxconn 64
    14    stats enable
    15    stats show-legends
    16    stats uri /haproxy?hastats
    17   
    18    stats auth admin:adminpass
    19