summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apache2/cgit.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/apache2/cgit.conf b/apache2/cgit.conf
new file mode 100644
index 0000000..aa9a453
--- /dev/null
+++ b/apache2/cgit.conf
@@ -0,0 +1,8 @@
+ScriptAlias /git/ "/usr/lib/cgit/cgit.cgi/"
+RedirectMatch ^/git$ /git/
+Alias /git-css "/usr/share/cgit/"
+<Directory "/usr/lib/cgit/">
+ AllowOverride None
+ Options ExecCGI FollowSymlinks
+ Require all granted
+</Directory>