OSDN Git Service

Bug fix. (Line 162: /usr/sbin/l7vsd -b => /usr/sbin/l7vsd)
[ultramonkey-l7/ultramonkey-l7-v3.git] / test / script / l7directord / materials / l7directord-5-2-17-9-l7directord.cf
1 ##
2 ## This is the l7directord configuration file.
3 ## See `l7directord --help' for detailed information.
4 ##
5
6 # = GLOBAL DIRECTIVES
7
8 # - Monitor Settings
9 checktimeout     = 5
10 negotiatetimeout = 5
11 checkinterval    = 10
12 retryinterval    = 5
13 checkcount       = 3
14
15 # - Logging
16 logfile          = /var/log/l7vs/l7directord.log
17 #logfile          = local0
18 #supervised
19
20 # - Real Server Operation
21 quiescent        = yes
22 #fallback         = 127.0.0.1:80
23
24 # - Monitor Configuration File
25 configinterval   = 10
26 autoreload       = no
27 #callback         = /opt/config_change.sh
28
29 # = VIRTUAL DIRECTIVES
30 # - A sample virtual section with a sorry server.
31 # - checkcount and quiescent settings are override the global settings.
32 virtual  = 127.0.0.1:40001
33 #       real = 192.168.0.51:80 masq 1
34 #       real = 192.168.0.52:80 masq 1
35 #       module      = sessionless
36 #       scheduler   = rr
37         #sorryserver = 192.168.0.53:80
38         #maxconn     = 1000
39         #qosup       = 100M
40         #qosdown     = 100M
41 #       checktype   = negotiate
42         service     = dns
43 #       request     = "index.html"
44 #       receive     = "html"
45 #       quiescent   = no
46 #       checkcount  = 2
47         #realdowncallback      = /opt/down.sh
48         #realrecovercallback   = /opt/recover.sh
49         #customcheck           = ping -c1 -w1 _IP_
50         #sslconfigfile         = /etc/l7vs/sslproxy/sslproxy.target.cf
51         #socketoption          = deferaccept,nodelay,quickackoff
52         #accesslog             = yes
53         #accesslogfile         = /var/log/l7vs/l7vsd_conn.log
54         #accesslog_rotate_type = datesize
55         #accesslog_rotate_max_backup_index = 2
56         #accesslog_rotate_max_filesize     = 100M
57         #accesslog_rotate_rotation_timing  = month
58         #accesslog_rotate_rotation_timing_value = "1 23:59"