OSDN Git Service

trunk整理
[ultramonkey-l7/ultramonkey-l7-v3.git] / test / script / l7directord / materials / l7directord-5-2-2-1-l7directord.cf
diff --git a/test/script/l7directord/materials/l7directord-5-2-2-1-l7directord.cf b/test/script/l7directord/materials/l7directord-5-2-2-1-l7directord.cf
new file mode 100644 (file)
index 0000000..62a29b7
--- /dev/null
@@ -0,0 +1,58 @@
+##
+## This is the l7directord configuration file.
+## See `l7directord --help' for detailed information.
+##
+
+# = GLOBAL DIRECTIVES
+
+# - Monitor Settings
+checktimeout     = 5
+negotiatetimeout = 5
+checkinterval    = 10
+retryinterval    = 5
+checkcount       = 3
+
+# - Logging
+logfile          = /var/log/l7vs/l7directord.log
+#logfile          = local0
+#supervised
+
+# - Real Server Operation
+quiescent        = yes
+#fallback         = 127.0.0.1:80
+
+# - Monitor Configuration File
+configinterval   = 10
+autoreload       = no
+#callback         = /opt/config_change.sh
+
+# = VIRTUAL DIRECTIVES
+# - A sample virtual section with a sorry server.
+# - checkcount and quiescent settings are override the global settings.
+#virtual  = 192.168.0.50:80
+#      real = 192.168.0.51:80 masq 1
+#      real = 192.168.0.52:80 masq 1
+#      module      = sessionless
+#      scheduler   = rr
+       #sorryserver = 192.168.0.53:80
+       #maxconn     = 1000
+       #qosup       = 100M
+       #qosdown     = 100M
+#      checktype   = negotiate
+#      service     = http
+#      request     = "index.html"
+#      receive     = "html"
+#      quiescent   = no
+#      checkcount  = 2
+       #realdowncallback      = /opt/down.sh
+       #realrecovercallback   = /opt/recover.sh
+       #customcheck           = ping -c1 -w1 _IP_
+       #sslconfigfile         = /etc/l7vs/sslproxy/sslproxy.target.cf
+       #socketoption          = deferaccept,nodelay,quickackoff
+       #accesslog             = yes
+       #accesslogfile         = /var/log/l7vs/l7vsd_conn.log
+       #accesslog_rotate_type = datesize
+       #accesslog_rotate_max_backup_index = 2
+       #accesslog_rotate_max_filesize     = 100M
+       #accesslog_rotate_rotation_timing  = month
+       #accesslog_rotate_rotation_timing_value = "1 23:59"