summaryrefslogtreecommitdiff
path: root/jails/gubbhub/cgitrc.j2
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2023-03-19 17:18:01 +0100
committerAlbert Cervin <albert@acervin.com>2023-03-19 17:18:01 +0100
commitc6f2fd36e0a8188e1f6b2a15b292e3d0a5610ac4 (patch)
treed1c21cf0d9a2529154b33438bd91821268be5eb4 /jails/gubbhub/cgitrc.j2
downloaddatagubbe-setup-c6f2fd36e0a8188e1f6b2a15b292e3d0a5610ac4.tar.gz
datagubbe-setup-c6f2fd36e0a8188e1f6b2a15b292e3d0a5610ac4.tar.xz
datagubbe-setup-c6f2fd36e0a8188e1f6b2a15b292e3d0a5610ac4.zip
🎉 Initial commit of infraHEADmain
Diffstat (limited to 'jails/gubbhub/cgitrc.j2')
-rw-r--r--jails/gubbhub/cgitrc.j220
1 files changed, 20 insertions, 0 deletions
diff --git a/jails/gubbhub/cgitrc.j2 b/jails/gubbhub/cgitrc.j2
new file mode 100644
index 0000000..ef1f50b
--- /dev/null
+++ b/jails/gubbhub/cgitrc.j2
@@ -0,0 +1,20 @@
+css=/cgit.css
+logo=/cgit.png
+
+root-title=git.datagubbe.dev
+root-desc=Git hosting for datagubbar
+
+# disallow http transport git clone, this is handled with git
+enable-http-clone=0
+clone-url=https://$HTTP_HOST/$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=/
+
+snapshots=tar.xz tar.gz zip
+
+section-from-path=1
+scan-path=/git/repos/