blob: 7a35f6abe716f7d7ecbc7c156645f20268960080 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
server.modules += ("mod_redirect",
"mod_alias",
"mod_cgi",
"mod_fastcgi",
"mod_rewrite" )
var.webapps = "/usr/share/webapps/cgit"
$HTTP["url"] =~ "^/" {
server.document-root = webapps
server.indexfiles = ("cgit.cgi")
cgi.assign = ("cgit.cgi" => "")
}
mimetype.assign += (
".css" => "text/css",
".png" => "image/png",
)
|