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