diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-02-26 03:12:58 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-02-26 03:12:58 +0000 |
commit | 2093d4d80d61e7b65820cacecde49b555c90eb15 (patch) | |
tree | 6f7a04f2bfff662871fce93179a51581bd79c91a /etc/cgitrc | |
parent | 635f2b40545210008ae292ccd67e8583c99ea1c3 (diff) |
cgitrc readme about page
Diffstat (limited to 'etc/cgitrc')
-rw-r--r-- | etc/cgitrc | 43 |
1 files changed, 40 insertions, 3 deletions
@@ -2,20 +2,57 @@ # https://wiki.gentoo.org/wiki/User:Halcon/HOWTO_cgit_uwsgi_nginx # `man cgitrc` +#cache-size=1000 enable-index-owner=0 enable-blame=1 mimetype-file=/etc/mime.types +# https://stackoverflow.com/questions/16182421/cgit-and-nginx-url-rewrite +virtual-root=/ + # `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 +about-filter=/usr/lib/cgit/filters/about-formatting-edited.sh +readme=:README.markdown +readme=:readme.markdown +readme=:README.mdown +readme=:readme.mdown +readme=:README.md +readme=:readme.md +readme=:README.mkd +readme=:readme.mkd +readme=:README.html +readme=:readme.html +readme=:README.htm +readme=:readme.htm +readme=:README.txt +readme=:readme.txt +readme=:README +readme=:readme +readme=:INSTALL.markdown +readme=:install.markdown +readme=:INSTALL.mdown +readme=:install.mdown +readme=:INSTALL.md +readme=:install.md +readme=:INSTALL.mkd +readme=:install.mkd +#readme=:INSTALL.rst +#readme=:install.rst +readme=:INSTALL.html +readme=:install.html +readme=:INSTALL.htm +readme=:install.htm +readme=:INSTALL.txt +readme=:install.txt +readme=:INSTALL +readme=:install + root-title=flylightning.xyz git repositories root-desc= |