Willy Tarreau | d4359fd | 2021-04-02 10:49:34 +0200 | [diff] [blame] | 1 | global |
| 2 | maxconn 500 |
| 3 | external-check |
| 4 | stats socket /tmp/sock1 mode 666 level admin |
| 5 | |
| 6 | defaults |
| 7 | timeout client 5s |
| 8 | timeout server 5s |
| 9 | timeout connect 5s |
| 10 | mode http |
| 11 | |
| 12 | listen stats |
| 13 | bind :8888 |
| 14 | stats uri / |
| 15 | |
| 16 | backend tcp9000 |
| 17 | option httpchk |
| 18 | server srv 127.0.0.1:9000 check inter 1s |
| 19 | |
| 20 | backend tcp9001 |
| 21 | option httpchk |
| 22 | server srv 127.0.0.1:9001 check inter 1s ssl verify none |
| 23 | |
| 24 | backend tcp9006 |
| 25 | option httpchk |
| 26 | server srv 10.0.0.0:9006 check inter 1s verify none |
| 27 | |
| 28 | backend ssh |
| 29 | server blah 127.0.0.1:22 check inter 1s |
| 30 | |
| 31 | frontend dummy |
| 32 | #mode http |
| 33 | bind :9000-9004 |
| 34 | |