summaryrefslogtreecommitdiffstats
path: root/apache2
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2020-07-03 07:26:30 -0400
committerMalfurious <m@lfurio.us>2020-07-03 07:26:30 -0400
commit682028074f21a88e2c93525d128fdef068bf4ccb (patch)
tree2bd354102f29bcfaa154407efcc7d32188e9e26e /apache2
parent71cd56350d691608f051d05b1b70a514e17250a0 (diff)
downloadsite-682028074f21a88e2c93525d128fdef068bf4ccb.tar.gz
site-682028074f21a88e2c93525d128fdef068bf4ccb.zip
Add apache hook for cgit
Diffstat (limited to 'apache2')
-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>