# https://wiki.archlinux.org/title/Cgit#Configuration_of_cgit # 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=/ enable-log-filecount=1 enable-log-linecount=1 # `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/ 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.rst #readme=:readme.rst 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= repo.url=config_local_arch repo.path=/var/lib/gitolite/repositories/config_local_arch.git repo.desc=Device dependent config files for Arch Linux, managed by https://git.flylightning.xyz/fsh/tree/sh/cfg (git bare repo method) repo.url=xcross repo.path=/var/lib/gitolite/repositories/xcross.git repo.desc=X11 draw a cross at cursor across screen repo.url=dwm_fly repo.path=/var/lib/gitolite/repositories/dwm_fly.git repo.desc=My fork of https://git.suckless.org/dwm #repo.readme=:dwm.1 repo.url=public_archive_codes repo.path=/var/lib/gitolite/repositories/public_archive_codes.git repo.desc=My mostly not used, not maintained, archived codes/configs repo.url=fly repo.path=/var/lib/gitolite/repositories/fly.git repo.desc=Arch Linux custom local repository repo.url=aur repo.path=/var/lib/gitolite/repositories/aur.git repo.desc=PKGBUILDs I maintain for AUR repo.url=fsh repo.path=/var/lib/gitolite/repositories/fsh.git repo.desc=My shell utilities