OSDN Git Service

bugfix
[ultramonkey-l7/ultramonkey-l7-v3.git] / test / script / l7directord / materials / l7directord-1-2-46-l7directord.cf
1 checktimeout=1
2 negotiatetimeout='1'
3 checkinterval="1"
4 retryinterval    = 1
5 configinterval   = '1'
6 checkcount            =  "1"
7
8 autoreload   = yes
9 quiescent    = "no"
10
11 fallback="1.1.1.1:80"
12
13 callback  =  /bin/sh
14
15 execute=/etc/hosts
16 execute='/etc/passwd'
17 execute="/etc/group"
18
19 supervised
20
21 logfile     =   "local0"
22
23
24 virtual=1.1.1.1:80
25     real=localhost
26     real=1.1.1.1
27     request=foobar
28     receive=foobar
29     login=foobar
30     passwd=foobar
31     database=foobar
32     virtualhost=foobar
33     checktype = connect
34     fallback="localhost:http"
35     module    =  'ip'
36     sorryserver="localhost:80"
37
38 virtual='2.2.2.2:http'
39     real    =   '127.0.0.1->127.0.0.2:http'
40     real    =   '127.0.0.3:http masq'
41     real    =   '127.0.0.4:http 10 req, rec'
42     request     ='foobar'
43     receive     ='foobar'
44     login       ='foobar'
45     passwd      ='foobar'
46     database    ='foobar'
47     virtualhost ='foobar'
48     checktype   =negotiate
49     checkport   =   "1"
50     scheduler   =   'lc'
51     service='https'
52     httpmethod    =  HEAD
53     fallback = 1.1.1.1:80
54     quiescent    = "yes"
55     module    =  'sessionless --other option'
56     sorryserver    =       localhost:http
57     qosup    =  '1G'
58     qosdown    =  1M
59
60 virtual    =    "localhost:80"
61     real   =   localhost:80 masq 10
62     real   =   "localhost:25 10"
63     request="foobar"
64     receive="foobar"
65     login  ="foobar"
66     passwd ="foobar"
67     database   ="foobar"
68     virtualhost="foobar"
69     checktype  =ping
70     checktimeout    =   "1"
71     negotiatetimeout=   "1"
72     checkinterval   =   "1"
73     retryinterval   =   "1"
74     checkcount      =   "1"
75     maxconn         =   "1"
76     scheduler   =   "wrr"
77     protocol = 'tcp'
78     quiescent    = "no"
79     module    =  sslid --other option
80     sorryserver  =   "2.2.2.2:http"
81     qosup="1M"
82     qosdown    =  1G
83     realrecovercallback="/bin/bash"
84     realdowncallback    =  /bin/sh
85
86 virtual    =    localhost:http
87     real="localhost->localhost:80 masq 100 request receive"
88     real   =    "1.1.1.1:80 masq 100 request 'receive'"
89     real   =    "2.2.2.2->2.2.2.5 masq 'request' receive"
90     login       =   foobar
91     passwd      =   foobar
92     database    =   foobar
93     virtualhost =   foobar
94     request     =   'foobar'
95     receive     =   'foobar'
96     checktype=10
97     checktimeout=1
98     negotiatetimeout=1
99     checkinterval=1
100     retryinterval=1
101     checkcount=1
102     maxconn=1
103     checkport   =   65535
104     scheduler   =   rr
105     protocol="tcp"
106     service="sip"
107     fallback   =     'localhost:80'
108     quiescent=yes
109     module="url --other option --pattern-match 'foo'"
110     qosup='999K'
111     qosdown    =  999K
112     realdowncallback="/bin/bash"
113     realrecovercallback=/bin/sh
114
115 virtual  = [::1]:88
116         real = [2002::230]:80
117         real = [2002::231]:80
118         module      = sessionless
119         scheduler   = rr
120         sorryserver = [2002::232]:80
121         maxconn     = 1000
122         qosup       = 100M
123         qosdown     = 100M
124         checktype   = negotiate
125         service     = http
126         request     = "index.html"
127         receive     = "html"
128         quiescent   = no
129         checkcount  = 2
130         #realdowncallback        = /opt/down.sh
131         #realrecovercallback = /opt/recover.sh
132         #customcheck = ping -c1 -w1 _IP_
133         # sslconfigfile=SSL_CONFIGFILE_PATH
134         # sslconfigfile=/tmp/l7directord/ssl.cf
135         # socketoption=OPTION,OPTION,OPTION
136         socketoption=deferaccept,nodelay,cork,quickackon
137         # accesslog=yes
138         accesslog=yes
139         # accesslogfile=ACCESSLOG_FILE_PATH
140         accesslogfile=/tmp/l7directord/access2.log
141         # accesslog_rotate_type=datesize
142         accesslog_rotate_type=size
143         # accesslog_rotate_max_backup_index=2
144         accesslog_rotate_max_backup_index=2
145         accesslog_rotate_max_filesize =100M
146         accesslog_rotate_rotation_timing=month
147         accesslog_rotate_rotation_timing_value="1 23:59"