blob: 39585fde7e5ed056da4a1ebc166b8cb10acffdc8 (
plain) (
blame)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
## style-sheet and custom logo
css=/cgit.css
logo=/cgit.png
## root for all cgit links
virtual-root=/
## root config
root-title={{ lookup('env', 'CGIT_DOMAIN') }}
root-desc=clarkzjw's personal git server
root-readme=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/index.html
## syntax highlighting
source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/local/lib/cgit/filters/about-formatting.sh
## mimetype
mimetype.gif=image/gif
mimetype.html=text/html
mimetype.jpg=image/jpeg
mimetype.jpeg=image/jpeg
mimetype.bmp=image/bmp
mimetype.pdf=application/pdf
mimetype.png=image/png
mimetype.svg=image/svg+xml
## features
remove-suffix=1
enable-remote-branches=1
enable-index-links=1
enable-index-owner=0
enable-git-config=1
enable-commit-graph=1
enable-log-filecount=1
enable-log-linecount=1
## readme
readme=:README.md
readme=:readme.md
readme=:README.mkd
readme=:readme.mkd
readme=:README.rst
readme=:readme.rst
readme=:README.html
readme=:readme.html
readme=:README.htm
readme=:readme.htm
readme=:README.txt
readme=:readme.txt
readme=:README
readme=:readme
readme=:INSTALL.md
readme=:install.md
readme=:INSTALL.mkd
readme=:install.mkd
readme=:INSTALL.rst
readme=:install.rst
readme=:INSTALL.html
readme=:install.html
readme=:INSTALL.htm
readme=:install.htm
readme=:INSTALL.txt
readme=:install.txt
readme=:INSTALL
readme=:install
## Sort branches by date
branch-sort=age
## search projects
section-from-path=1
project-list=/opt/git/projects.list
scan-path=/opt/git/repositories/
## refs:
## https://jmahler.github.io/git/2013/06/29/cgit.html
## https://gitolite.com/gitolite/fool_proof_setup
## https://github.com/sitaramc/gitolite
## https://herrbischoff.com/2021/10/how-to-install-cgit-with-gitolite-and-nginx-on-freebsd-13/
|