about summary refs log tree commit diff stats
path: root/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'cgitrc')
-rw-r--r--cgitrc45
1 files changed, 45 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc new file mode 100644 index 0000000..f58dcb7 --- /dev/null +++ b/cgitrc
@@ -0,0 +1,45 @@
1# /etc/cgitrc -*- conf -*-
2
3root-title=git.acdw.net
4root-desc=personal projects of acdw
5
6# Paths to static resource in Nginx root
7css=/cgit.css
8#logo=/cgit.png
9logo=/avatar.png
10
11clone-url=git://$HTTP_HOST/$CGIT_REPO_URL
12snapshots=tar.gz zip
13
14enable-commit-graph=1
15repository-sort=age
16branch-sort=age
17
18max-repodesc-length=100
19
20section-from-path=1
21max-repo-count=100
22
23mimetype.gif=image/gif
24mimetype.html=text/html
25mimetype.jpg=image/jpeg
26mimetype.jpeg=image/jpeg
27mimetype.pdf=application/pdf
28mimetype.png=image/png
29mimetype.svg=image/svg+xml
30
31# enable git config
32enable-git-config=1
33# remove .git from URLs and repo list
34remove-suffix=1
35# Root for all cgit links
36virtual-root=/
37
38# READMEs
39readme=:README.md
40readme=:readme.txt
41readme=:README
42about-filter=/usr/bin/cgit-about-filter.sh
43
44# Folder with all my repos
45scan-path=/git/