blob: c9d26af7c2e04bd29a8cfeb2f7171185e5113502 (
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
48
49
50
51
52
53
54
55
56
57
58
59
|
# /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
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.md
readme=:readme.txt
readme=:README.txt
readme=:README
readme=:readme
about-filter=/usr/bin/cgit-about-filter.sh
default-tab=about
# Folder with all my repos
scan-path=/git/
|