diff options
Diffstat (limited to 'jails/gubbhub/cgitrc.j2')
| -rw-r--r-- | jails/gubbhub/cgitrc.j2 | 20 |
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/ |
