about summary refs log tree commit diff stats
path: root/cgitrc
blob: 2fb28e5f599a413c6944bc3cad9b3a5c610e27a0 (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=friendware by acdw
root-desc=the real software was the friends we made along the way

# Paths to static resource in Nginx root
css=/cgit.css
#logo=/cgit.png
logo=/avatar.png

clone-url=https://$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/