summaryrefslogtreecommitdiff
path: root/images/git/cgit/cgitrc
blob: e545ec78747c58735082c02a60fde7369c5b4c11 (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
css=/cgit.css
logo=/cgit.png

root-title=tx0.co
clone-prefix=git://tx0.co https://g.tx0.co/git git@tx0.co:
snapshots=tar.gz tar.xz tar.bz2 zip
about-filter=/app/about-formatting.sh
#/usr/lib/cgit/filters/about-formatting.sh
source-filter=/app/syntax-highlighting3.sh
enable-http-clone=0
strict-export=git-daemon-export-ok

noplainemail=1

enable-index-owner=0
enable-index-links=0
enable-commit-graph=1
enable-log-filecount=1
enable-log-linecount=1

# if you do not want that webcrawler (like google) index your site
robots=noindex, nofollow

# if cgit messes up links, use a virtual-root. For example has cgit.example.org/ this value:
virtual-root=/
root-desc=Foo.

enable-git-config=1
section-from-path=1
remove-suffix=1

project-list=/data/git/projects.list
scan-path=/data/git/repositories

mimetype.gif=image/gif
mimetype.html=text/html
mimetype.jpg=image/jpg
mimetype.jpeg=image/jpg
mimetype.pdf=application/pdf
mimetype.png=image/png
mimetype.svg=image/svg+xml

readme=master:README.md
readme=master:README.txt
readme=master:README