Willy Tarreau | fe94460 | 2007-10-25 10:34:16 +0200 | [diff] [blame] | 1 | # This is a test configuration. |
| 2 | # Its purpose is simply to emit logs on the loopback in order to verify |
| 3 | # that the time is correct. To be used with tcpdump on lo, or with |
Dragan Dosen | 609ac2a | 2015-09-16 18:25:42 +0200 | [diff] [blame] | 4 | # "strace -s100 -esendmsg". |
Willy Tarreau | fe94460 | 2007-10-25 10:34:16 +0200 | [diff] [blame] | 5 | |
| 6 | global |
| 7 | log 127.0.0.1:514 local0 |
| 8 | |
| 9 | defaults |
| 10 | balance uri |
| 11 | contimeout 5000 |
| 12 | clitimeout 5000 |
| 13 | srvtimeout 5000 |
| 14 | |
| 15 | listen http |
| 16 | log global |
| 17 | log 127.0.0.1:514 local0 |
| 18 | option httplog |
| 19 | mode http |
| 20 | bind :8000 |
| 21 | option dontlognull |
| 22 | balance roundrobin |
| 23 | server tux 127.0.0.1:65535 check inter 1000 |
| 24 | |