blob: 053648f5b248eb5b8f24a3b5a7cdd64bb5d955ff [file] [log] [blame]
willy tarreau0f7af912005-12-17 12:21:26 +01001listen proxy1 0.0.0.0:3128
2 mode http
3 cookie SERVERID
4 dispatch 192.168.12.1:80
5 server srv1 192.168.12.2:8080
6 server srv2 192.168.12.3:8080
7 contimeout 3000
8 clitimeout 150000
9 srvtimeout 150000
10 maxconn 60000
11 redisp
12 retries 3
13 grace 3000
14
15listen proxy2 0.0.0.0:3129
16 mode http
17 dispatch 127.0.0.1:80
18 contimeout 3000
19 clitimeout 150000
20 srvtimeout 150000
21 maxconn 60000
22 retries 3
23 grace 3000
24
25# log 10.101.11.1 local1
26# log 10.101.11.1 local2
27
28# cliexp ^(.*ASPSESSIONID.*=)(.*) \1FENICGGCBECLFFEEOAEAIFGF
29# cliexp ^(GET.*)(.free.fr)(.*) \1.online.fr\3
30# cliexp ^(POST.*)(.free.fr)(.*) \1.online.fr\3
31# cliexp ^Proxy-Connection:.* Proxy-Connection:\ close
32# srvexp ^(Location:\ )([^:]*://[^/]*)(.*) \1\3
33
34listen health 0.0.0.0:3130
35 mode health
36 clitimeout 1500
37 srvtimeout 1500
38 maxconn 4
39 grace 0