2
0
Fork 0

Add example lighttpd.conf

This commit is contained in:
Stefan Bühler 2010-02-14 19:00:46 +01:00
parent ed58f7365f
commit e220bd588c
1 changed files with 25 additions and 0 deletions

25
doc/lighttpd.conf Normal file
View File

@ -0,0 +1,25 @@
setup {
module_load (
"mod_accesslog",
"mod_dirlist"
);
listen "0.0.0.0:80";
listen "[::]:80";
log = ["debug": "", "*": "/var/log/lighttpd2/error.log"];
accesslog = "/var/log/lighttpd2/access.log";
accesslog.format = "%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"";
include "/etc/sv/lighttpd2/mimetypes.conf";
static.exclude_extensions = ( ".php", ".pl", ".fcgi", "~", ".inc" );
}
docroot "/var/www";
index ( "index.php", "index.html", "index.htm", "default.htm", "index.lighttpd.html" );
dirlist;
static;