summaryrefslogtreecommitdiff
path: root/public/fs/etc/cgit.d/cgitrc.zone
blob: 45ed8dd45ec1b828c40460ee1504d07e1295340a (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
virtual-root=/
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py

css=/cgit/cgit.css
logo=/cgit/@sitename@.png

root-title=@sitemoto@
root-desc=@sitedesc@
clone-url=https://git.@sitezone@/$CGIT_REPO_URL

enable-http-clone=0
enable-git-config=1
section-from-path=1
snapshots=tar.bz2 tar.xz

enable-index-links=1
enable-log-filecount=1
enable-log-linecount=1

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

@@@ [sed mark]

section=name
###############
repo.url=foo
repo.path=/srv/git/foo
repo.desc=something something
repo.owner=someone
repo.homepage=https://dev.@sitezone@/path/to/foo

section=other
###############
scan-path=/srv/git