Miroslav Zagorac | 70230c6 | 2020-12-09 16:54:31 +0100 | [diff] [blame] | 1 | global |
| 2 | # nbthread 1 |
| 3 | maxconn 5000 |
| 4 | hard-stop-after 10s |
| 5 | # log localhost:514 local7 debug |
| 6 | # debug |
| 7 | stats socket /tmp/haproxy-be.sock mode 666 level admin |
| 8 | |
| 9 | defaults |
| 10 | log global |
| 11 | mode http |
| 12 | option httplog |
| 13 | option dontlognull |
| 14 | option httpclose |
| 15 | retries 3 |
| 16 | maxconn 4000 |
| 17 | timeout connect 5000 |
| 18 | timeout client 50000 |
| 19 | timeout server 50000 |
| 20 | |
| 21 | listen stats |
| 22 | mode http |
| 23 | bind *:8002 |
| 24 | stats uri / |
| 25 | stats admin if TRUE |
| 26 | stats refresh 10s |
| 27 | |
| 28 | frontend ot-test-be-frontend |
| 29 | bind *:11080 |
| 30 | mode http |
| 31 | default_backend servers-backend |
| 32 | |
| 33 | filter opentracing id ot-test-be config be/ot.cfg |
| 34 | |
| 35 | backend servers-backend |
| 36 | mode http |
| 37 | server server-1 127.0.0.1:8000 |