summaryrefslogtreecommitdiffstats
path: root/examples/cgitrc
blob: 631feaaaccd2256df59a5acc4b27151d3db62657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# Global
#
css=/cgit.css
logo=/cgit.png
# Formatters
source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/local/lib/cgit/filters/about-formatting.sh
commit-filter=/usr/local/lib/cgit/filters/commit/commit-filter.sh
# Mimetypes (for plain blobs)
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

#
# Cache
#
cache-size=1000

#
# Index
#
root-title=Edit this in cgitrc
root-desc=Edit this in cgitrc
root-readme=/srv/cgit/about.md
favicon=/favicon.ico

#
# Repositories
#
enable-index-owner=1
enable-index-links=1
enable-commit-graph=1
enable-log-filecount=1
enable-log-linecount=1
repository-sort=age
remove-suffix=1
max-stats=year
snapshots=tar.gz zip
clone-url=http://localhost:8080/$CGIT_REPO_URL
readme=:readme.md
# This setting must be set last because settings set after repos are scanned are not applied
scan-path=/srv/git