blob: d96d13b7615393ca9cfeff5bceff4cd854a929ce (
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
60
61
|
# /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.html
readme=:readme.html
readme=:README
readme=:readme
about-filter=/usr/bin/cgit-about-filter.sh
default-tab=about
# Folder with all my repos
scan-path=/git/
|