From 3c792e82a4fb0fa32ac3c8ec9471acf0a89370ec Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 23 Feb 2022 06:26:46 +0000 Subject: cgit --- cgitrc | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'cgitrc') 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 -- cgit v1.2.3