diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-02-26 01:19:06 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-02-26 01:19:06 +0000 |
commit | 635f2b40545210008ae292ccd67e8583c99ea1c3 (patch) | |
tree | dce2cb1a91e85d2a9f890087f959f80140c07130 /etc/cgitrc | |
parent | 894c1402460901ad276b17ade10e963ad0f75810 (diff) |
update
Diffstat (limited to 'etc/cgitrc')
-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= |