summaryrefslogtreecommitdiff
path: root/cgitrc
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2022-02-23 06:26:46 +0000
committercyfraeviolae <cyfraeviolae>2022-02-23 06:26:46 +0000
commit3c792e82a4fb0fa32ac3c8ec9471acf0a89370ec (patch)
tree15f5e1d96faf340865d0b15f6cf8e91ca5d26bc4 /cgitrc
parent990816bd196af146c8a507018e1042a67f97e2b3 (diff)
cgit
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