summaryrefslogtreecommitdiff
path: root/contrib/lighttpd.conf
blob: 3e2664c07ae8aad1c7d14b7548e1c9553b358bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

setup {

	module_load [
		"mod_accesslog",
		"mod_dirlist"
	];

	listen "0.0.0.0:80";
	listen "[::]:80";

	log ["debug" => "", default => "/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\"";

	static.exclude_extensions [ ".php", ".pl", ".fcgi", "~", ".inc" ];

}

include "/etc/lighttpd2/mimetypes.conf";

docroot "/var/www";
index [ "index.php", "index.html", "index.htm", "default.htm", "index.lighttpd.html" ];
dirlist;
static;