blob: 988e3ab9120ed843f03c7267d1442424700199c4 [file] [log] [blame]
Miroslav Zagorac70230c62020-12-09 16:54:31 +01001global
2# nbthread 1
3 maxconn 5000
4 hard-stop-after 10s
5# log localhost:514 local7 debug
6# debug
7 stats socket /tmp/haproxy.sock mode 666 level admin
8
9defaults
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
21listen stats
22 mode http
23 bind *:8001
24 stats uri /
25 stats admin if TRUE
26 stats refresh 10s
27
28frontend ot-test-sa-frontend
29 bind *:10080
30 mode http
31 default_backend servers-backend
32
33 acl acl-http-status-ok status 100:399
34 filter opentracing id ot-test-sa config sa/ot.cfg
35 http-response ot-group ot-test-sa http_response_group if acl-http-status-ok
36 http-after-response ot-group ot-test-sa http_after_response_group if !acl-http-status-ok
37
38backend servers-backend
39 mode http
40 server server-1 127.0.0.1:8000