# /etc/cgitrc -*- conf -*- root-title=git.acdw.net root-desc=personal projects of acdw # Paths to static resource in Nginx root css=/cgit.css #logo=/cgit.png logo=/avatar.png clone-url=git://$HTTP_HOST/$CGIT_REPO_URL http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL enable-index-owner=0 enable-index-links=1 enable-subject-links=1 snapshots=tar.gz zip enable-commit-graph=1 repository-sort=age branch-sort=age max-stats=year max-repodesc-length=100 noplainemail=1 side-by-side-diffs=1 section-from-path=1 max-repo-count=100 footer=/usr/local/cgit/share/footer.txt mimetype.gif=image/gif 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 # enable git config enable-git-config=1 # remove .git from URLs and repo list remove-suffix=1 # Root for all cgit links virtual-root=/ # READMEs readme=:README.md readme=:readme.txt readme=:README about-filter=/usr/bin/cgit-about-filter.sh default-tab=about # Folder with all my repos scan-path=/git/