]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd.conf
- requires --makepid capable rc-scripts
[packages/lighttpd.git] / lighttpd.conf
index f9b2ffcf8f9640b06ba48c2a543e5b609f38fbf0..1922d5acb2c399a0277b7a8e0ce456130479926e 100644 (file)
@@ -11,6 +11,10 @@ server.document-root = "/home/services/lighttpd/html/"
 server.errorlog = "/var/log/lighttpd/error.log"
 #server.errorlog-use-syslog = "enable"
 
+## http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2550
+## NOTE: It is not reopened in log_error_cycle, so don't setup logrotate to this.
+server.breakagelog = "/var/log/lighttpd/breakage.log"
+
 server.pid-file = "/var/run/lighttpd.pid"
 
 # mimetype mapping
@@ -25,6 +29,21 @@ mimetype.assign += (
 # Linux 2.6+   epoll   linux-sysepoll
 #server.event-handler = "linux-sysepoll"
 
+# default cames from ulimit -n
+#server.max-fds = 8192
+
+# maximum number of request within a keep-alive session before the server terminates the connection
+# default 16
+#server.max-keep-alive-requests = 16
+
+# Maximum number of seconds until an idling keep-alive connection is dropped.
+# default 30
+#server.max-keep-alive-idle = 30
+
+# maximum number of seconds until a waiting, non keep-alive read times out and closes the connection
+# default 60
+#server.max-read-idle = 60
+
 # maximum number of seconds until a waiting write call times out and closes the connection
 # default 360
 #server.max-write-idle = 360
@@ -40,6 +59,9 @@ $HTTP["url"] =~ "\.pdf$" {
        server.range-requests = "disable"
 }
 
+## Skip responding with 417 for unhandled Expect header for some broken applications
+#server.reject-expect-100-with-417 = "disable"
+
 ######### Options that are good to be but not neccesary to be changed #######
 
 ## bind to port (default: 80)
@@ -47,7 +69,7 @@ server.port = 80
 
 ## bind to specific host (default: all interfaces)
 ## the name is resolved to ip at startup only.
-#server.bind = "grisu.home.kneschke.de"
+#server.bind = "www.example.org"
 
 ## additionally just bind to localhost:80
 #$SERVER["socket"] == "127.0.0.1:80"  {}
@@ -67,6 +89,7 @@ server.port = 80
 #debug.log-request-handling  = "enable"
 #debug.log-file-not-found    = "enable"
 #debug.log-condition-handling = "enable"
+#debug.log-timeouts = "enable"
 
 ### only root can use these options
 #
This page took 0.036248 seconds and 4 git commands to generate.