ffd53d8536
Change-Id: I56a884962902a0633cd6dded0c1d877a116715b9
32 lines
633 B
INI
32 lines
633 B
INI
# Basic configuration
|
|
global
|
|
log 127.0.0.1 local0
|
|
maxconn 4096
|
|
stats socket /tmp/haproxy
|
|
|
|
defaults
|
|
log global
|
|
mode http
|
|
option http-server-close
|
|
option httplog
|
|
option dontlognull
|
|
retries 3
|
|
option redispatch
|
|
option forwardfor
|
|
timeout client 1000
|
|
timeout server 1000
|
|
timeout connect 1000
|
|
|
|
frontend public
|
|
bind 127.0.0.1:3834 # DTDG
|
|
default_backend datadog
|
|
|
|
backend datadog
|
|
stats uri /stats
|
|
stats refresh 5s
|
|
|
|
balance roundrobin
|
|
server singleton:8080 127.0.0.1:8080
|
|
server singleton:8081 127.0.0.1:8081
|
|
server otherserver 127.0.0.1:1234
|