diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-01-28 15:24:28 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-01-28 15:24:28 +0000 |
commit | 710474f5c13fed5943b4c9680e7b59445ec1e5f6 (patch) | |
tree | d39bdf90aff3d42e3edffa1bab171572b3278391 /roles/cgit/files | |
parent | 342125c39807365567bd9c6aaaf7b83e2871c8b7 (diff) | |
download | infra-710474f5c13fed5943b4c9680e7b59445ec1e5f6.tar.gz infra-710474f5c13fed5943b4c9680e7b59445ec1e5f6.tar.bz2 infra-710474f5c13fed5943b4c9680e7b59445ec1e5f6.zip |
Add forgotten cgitrc file
Diffstat (limited to 'roles/cgit/files')
-rw-r--r-- | roles/cgit/files/cgitrc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/roles/cgit/files/cgitrc b/roles/cgit/files/cgitrc new file mode 100644 index 0000000..a030c2e --- /dev/null +++ b/roles/cgit/files/cgitrc @@ -0,0 +1,41 @@ +# See cgitrc(5) for details and example config. + +# Enable caching of up to 1000 output entries. +cache-size=1000 + +# Show owner on index page. +enable-index-owner=0 + +# Enable blame page and create links to it from tree page. +enable-blame=1 + +# Add a cgit favicon. +favicon= + +# Use a custom logo. +logo= + +# Set the title and heading of the repository index page. +root-title=git.ilvokhin.com + +# Set a subheading for the repository index page. +root-desc= + +# Allow download of tar.gz, tar.bz2 and zip-files. +snapshots=tar.gz tar.bz2 zip + +## List of common mimetypes. + +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 + +# Automatically search for the repositories. +scan-path=/srv/git/ + +# To fix messed up urls. +virtual-root=/ |