1 server.document-root = "/www"
2 server.upload-dirs = ( "/tmp" )
3 server.errorlog = "/var/log/lighttpd/error.log"
4 server.pid-file = "/var/run/lighttpd.pid"
5 server.username = "http"
6 server.groupname = "www-data"
8 index-file.names = ( "index.php", "index.html",
9 "index.htm", "default.htm",
12 static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
15 #https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_feature-flagsDetails
16 server.feature-flags += ("server.graceful-shutdown-timeout" => 5)
17 #server.feature-flags += ("server.graceful-restart-bg" => "enable")
19 ### Options that are useful but not always necessary:
22 #server.bind = "localhost"
23 #server.tag = "lighttpd"
24 #server.errorlog-use-syslog = "enable"
25 #server.network-backend = "writev"
27 ### Use IPv6 if available
28 #include_shell "/usr/share/lighttpd/use-ipv6.pl"
30 #dir-listing.encoding = "utf-8"
31 #dir-listing.activate = "enable"
33 include "/etc/lighttpd/mime.conf"
34 include "/etc/lighttpd/conf.d/*.conf"