summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-02-26 10:41:20 +0000
committerXiao Pan <gky44px1999@gmail.com>2024-02-26 10:41:20 +0000
commit8b15014b94d7de8d17efa603df0297aa1ead5414 (patch)
treefba3871097e1f3c9d4eda9d05cd54779919bd7e6 /etc
parent302f4f445047f103e1074c8dccb75c162a0bb701 (diff)
update
Diffstat (limited to 'etc')
-rw-r--r--etc/cgitrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/cgitrc b/etc/cgitrc
index c98b9dab..a1b78047 100644
--- a/etc/cgitrc
+++ b/etc/cgitrc
@@ -8,6 +8,8 @@ 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