blob: 13bd126ae0839211ec70453a849ea59576af1454 [file] [log] [blame]
Thierry FOURNIER4d7bfa12018-02-25 21:28:05 +01001global
2 debug
3
4defaults
5 mode http
6 option httplog
7 option dontlognull
8 timeout connect 5000
9 timeout client 5000
10 timeout server 5000
11
12listen test
13 mode http
14 bind :10001
15 filter spoe engine spoa-server config spoa-server.spoe.conf
16 http-request set-var(req.a) var(txn.iprep.null),debug
17 http-request set-var(req.a) var(txn.iprep.boolean),debug
18 http-request set-var(req.a) var(txn.iprep.int32),debug
19 http-request set-var(req.a) var(txn.iprep.uint32),debug
20 http-request set-var(req.a) var(txn.iprep.int64),debug
21 http-request set-var(req.a) var(txn.iprep.uint64),debug
22 http-request set-var(req.a) var(txn.iprep.ipv4),debug
23 http-request set-var(req.a) var(txn.iprep.ipv6),debug
24 http-request set-var(req.a) var(txn.iprep.str),debug
25 http-request set-var(req.a) var(txn.iprep.bin),debug
26 http-request redirect location /%[var(sess.iprep.ip_score)]
27
28backend spoe-server
29 mode tcp
30 balance roundrobin
31 timeout connect 5s
32 timeout server 3m
33 server spoe-server 127.0.0.1:12345