aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiederick de Vries <diederick@diederickdevries.net>2020-06-21 14:02:30 +0200
committerDiederick de Vries <diederick@diederickdevries.net>2020-06-21 14:02:30 +0200
commitdf2b46c730cb7fee673b0759ffceaa1589ad0d3e (patch)
tree3562013c38745076b37fdeefca70448f3f2085af
parentab6b238edcd6e0493c70408371501d35ea024f34 (diff)
downloadcgit-docker-df2b46c730cb7fee673b0759ffceaa1589ad0d3e.tar.gz
cgit-docker-df2b46c730cb7fee673b0759ffceaa1589ad0d3e.tar.bz2
cgit-docker-df2b46c730cb7fee673b0759ffceaa1589ad0d3e.zip
feat: improve cgitrc
-rw-r--r--cgitrc40
1 files changed, 31 insertions, 9 deletions
diff --git a/cgitrc b/cgitrc
index ea23ad4..d7b7a15 100644
--- a/cgitrc
+++ b/cgitrc
@@ -5,19 +5,41 @@
5css=/cgit.css 5css=/cgit.css
6logo=/cgit.png 6logo=/cgit.png
7 7
8# Following lines work with the above Lighttpd config
9#css=/cgit/cgit.css
10#logo=/cgit/cgit.png
11
12# Allow http transport git clone
13enable-http-clone=0
14
15# if you do not want that webcrawler (like google) index your site 8# if you do not want that webcrawler (like google) index your site
16robots=noindex, nofollow 9robots=noindex, nofollow
17 10
18# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value: 11# if cgit messes up links, use a virtual-root. For example has cgit.example.org/ this value:
19virtual-root=/ 12virtual-root=/
20 13
21# Scan repos here 14root-title=code.diederickdevries.net
15root-desc=
16root-readme=/conf/root-readme.md
17
18clone-url=https://code.diederickdevries.net/$CGIT_REPO_URL
19snapshots=tar.gz tar.bz2 zip
20
21enable-commit-graph=1
22side-by-side-diffs=1
23
24max-stats=quarter
25enable-log-filecount=1
26enable-log-linecount=1
27remove-suffix=1
28enable-git-clone=1
29enable-html-serving=1
30
31##
32### List of common mimetypes
33###
34mimetype.gif=image/gif
35mimetype.html=text/html
36mimetype.jpg=image/jpeg
37mimetype.jpeg=image/jpeg
38mimetype.pdf=application/pdf
39mimetype.png=image/png
40mimetype.svg=image/svg+xml
41
42readme=:README.md
43
22scan-path=/srv/git/ 44scan-path=/srv/git/
23 45