You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
538 B
Plaintext
26 lines
538 B
Plaintext
13 years ago
|
|
||
|
setup {
|
||
|
|
||
10 years ago
|
module_load [
|
||
13 years ago
|
"mod_accesslog",
|
||
|
"mod_dirlist"
|
||
10 years ago
|
];
|
||
13 years ago
|
|
||
|
listen "0.0.0.0:80";
|
||
|
listen "[::]:80";
|
||
|
|
||
10 years ago
|
log ["debug" => "", default => "/var/log/lighttpd2/error.log"];
|
||
12 years ago
|
accesslog "/var/log/lighttpd2/access.log";
|
||
|
accesslog.format "%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"";
|
||
13 years ago
|
|
||
10 years ago
|
static.exclude_extensions [ ".php", ".pl", ".fcgi", "~", ".inc" ];
|
||
13 years ago
|
|
||
|
}
|
||
|
|
||
![]()
12 years ago
|
include "/etc/lighttpd2/mimetypes.conf";
|
||
|
|
||
13 years ago
|
docroot "/var/www";
|
||
10 years ago
|
index [ "index.php", "index.html", "index.htm", "default.htm", "index.lighttpd.html" ];
|
||
13 years ago
|
dirlist;
|
||
|
static;
|