aboutsummaryrefslogtreecommitdiff
path: root/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'cgitrc')
-rw-r--r--cgitrc21
1 files changed, 21 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
index f16acea..58ff60b 100644
--- a/cgitrc
+++ b/cgitrc
@@ -10,11 +10,32 @@ clone-prefix=https://git.demonkingswarn.live
root-title=Demon's git
root-desc=Open Source is like your mom, hot and everyone can have a go at it.
+footer=
readme=:README.md
about-filter=/usr/lib/cgit/filters/about-formatting.sh
+# Enable snapshots
+snapshots=tar.gz zip
+
+
+mimetype.git=image/git
+mimetype.html=text/html
+mimetype.jpg=image/jpeg
+mimetype.jpeg=image/jpeg
+mimetype.pdf=application/pdf
+mimetype.png=image/png
+mimetype.svg=image/svg+xml
+
+# Caching
+cache-dynamic-ttl=60
+cache-static-ttl=44640
+cache-root-ttl=6
+cache-repo-ttl=120
+
+
+
scan-path=/var/git/