aboutsummaryrefslogtreecommitdiff
path: root/cgitrc
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2024-05-16 12:22:02 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2024-05-16 12:22:02 +0530
commit8d3f2bd3a5f5adf1a17d42f520d28f67fb2d87e8 (patch)
treea1a62f9da376a1475d63bae2bfd051443b1d427a /cgitrc
parent2633a187811d81eea115de4e6755267a2dd6eb19 (diff)
downloadcgit-config-8d3f2bd3a5f5adf1a17d42f520d28f67fb2d87e8.zip
cgit-config-8d3f2bd3a5f5adf1a17d42f520d28f67fb2d87e8.tar.gz
QoL changesHEADmaster
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/