diff options
-rw-r--r-- | etc/cgitrc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2,12 +2,19 @@ # https://wiki.gentoo.org/wiki/User:Halcon/HOWTO_cgit_uwsgi_nginx # `man cgitrc` -css=/mycgit.css +enable-index-owner=0 +enable-blame=1 +mimetype-file=/etc/mime.types +# `man cgitrc` uses $CGIT_REPO_URL instead of $CGIT_REPO_NAME, I guess maybe because repo name can be different from repo url? +clone-url=https://$HTTP_HOST/$CGIT_REPO_URL https://codeberg.org/flyxyz123/$CGIT_REPO_URL +# $HTTP_HOST not working for clone-prefix, not sure why, therefore I prefer clone-url over clone-prefix +#clone-prefix=https://git.flylightning.xyz/ https://codeberg.org/flyxyz123/ # https://stackoverflow.com/questions/16182421/cgit-and-nginx-url-rewrite virtual-root=/ source-filter=/usr/lib/cgit/filters/syntax-highlighting-edited.sh +css=/mycgit.css root-title=flylightning.xyz git repositories root-desc= |