mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-25 14:12:13 +00:00
4d7bfa1cd1
This is the documentation and examples.
34 lines
978 B
Plaintext
34 lines
978 B
Plaintext
global
|
|
debug
|
|
|
|
defaults
|
|
mode http
|
|
option httplog
|
|
option dontlognull
|
|
timeout connect 5000
|
|
timeout client 5000
|
|
timeout server 5000
|
|
|
|
listen test
|
|
mode http
|
|
bind :10001
|
|
filter spoe engine spoa-server config spoa-server.spoe.conf
|
|
http-request set-var(req.a) var(txn.iprep.null),debug
|
|
http-request set-var(req.a) var(txn.iprep.boolean),debug
|
|
http-request set-var(req.a) var(txn.iprep.int32),debug
|
|
http-request set-var(req.a) var(txn.iprep.uint32),debug
|
|
http-request set-var(req.a) var(txn.iprep.int64),debug
|
|
http-request set-var(req.a) var(txn.iprep.uint64),debug
|
|
http-request set-var(req.a) var(txn.iprep.ipv4),debug
|
|
http-request set-var(req.a) var(txn.iprep.ipv6),debug
|
|
http-request set-var(req.a) var(txn.iprep.str),debug
|
|
http-request set-var(req.a) var(txn.iprep.bin),debug
|
|
http-request redirect location /%[var(sess.iprep.ip_score)]
|
|
|
|
backend spoe-server
|
|
mode tcp
|
|
balance roundrobin
|
|
timeout connect 5s
|
|
timeout server 3m
|
|
server spoe-server 127.0.0.1:12345
|