From 8d3f2bd3a5f5adf1a17d42f520d28f67fb2d87e8 Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Thu, 16 May 2024 12:22:02 +0530 Subject: QoL changes --- cgitrc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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/ -- cgit v1.1