mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 22:15:14 +00:00
25 lines
525 B
INI
25 lines
525 B
INI
|
# This is a test configuration.
|
||
|
# Its purpose is simply to emit logs on the loopback in order to verify
|
||
|
# that the time is correct. To be used with tcpdump on lo, or with
|
||
|
# "strace -s100 -esendto".
|
||
|
|
||
|
global
|
||
|
log 127.0.0.1:514 local0
|
||
|
|
||
|
defaults
|
||
|
balance uri
|
||
|
contimeout 5000
|
||
|
clitimeout 5000
|
||
|
srvtimeout 5000
|
||
|
|
||
|
listen http
|
||
|
log global
|
||
|
log 127.0.0.1:514 local0
|
||
|
option httplog
|
||
|
mode http
|
||
|
bind :8000
|
||
|
option dontlognull
|
||
|
balance roundrobin
|
||
|
server tux 127.0.0.1:65535 check inter 1000
|
||
|
|