summaryrefslogtreecommitdiff
path: root/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'cgitrc')
-rw-r--r--cgitrc18
1 files changed, 4 insertions, 14 deletions
diff --git a/cgitrc b/cgitrc
index 23d5333..6cbdc3c 100644
--- a/cgitrc
+++ b/cgitrc
@@ -1,24 +1,14 @@
css=/cgit.css
logo=/cgit.png
-# Following lines work with the above Apache config
-#css=/cgit-css/cgit.css
-#logo=/cgit-css/cgit.png
-
-# Following lines work with the above Lighttpd config
-#css=/cgit/cgit.css
-#logo=/cgit/cgit.png
-
-# Allow http transport git clone
-#enable-http-clone=0
-
+enable-http-clone=1
+clone-url=http://$HTTP_HOST$SCRIPT_NAME/git/$CGIT_REPO_URL
# if you do not want that webcrawler (like google) index your site
robots=noindex, nofollow
# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value:
-virtual-root=/
+virtual-root=/git/
scan-path=/srv/git/
-source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
-
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh