diff options
-rw-r--r-- | cgitrc | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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/ |