summaryrefslogtreecommitdiff
path: root/cgit/cgit.conf
diff options
context:
space:
mode:
Diffstat (limited to 'cgit/cgit.conf')
-rw-r--r--cgit/cgit.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/cgit/cgit.conf b/cgit/cgit.conf
index e69de29..7a35f6a 100644
--- a/cgit/cgit.conf
+++ b/cgit/cgit.conf
@@ -0,0 +1,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",
+) \ No newline at end of file