summaryrefslogtreecommitdiff
path: root/cgitrc
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-04-24 23:36:52 +0200
committerJesper Jensen <jesper@jnsn.dev>2026-06-04 19:39:17 +0200
commitac89b3c715fd3eddca7898e069ee04498c1a1ba2 (patch)
treeeb0294e645dd494ebe2b222292e6f8463d936277 /cgitrc
INITIAL COMMIT
Diffstat (limited to 'cgitrc')
-rw-r--r--cgitrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
new file mode 100644
index 0000000..02c5e8e
--- /dev/null
+++ b/cgitrc
@@ -0,0 +1,18 @@
+css=/cgit.css
+logo=/cgit.png
+favicon=/favicon.ico
+scan-path=/var/lib/git
+remove-suffix=1
+enable-http-clone=1
+snapshots=tar.gz zip
+root-title=Repositories
+root-desc=Simple Git host
+section-from-path=1
+clone-url=http://$HTTP_HOST/git/%n.git
+clone-url=ssh://git@$HTTP_HOST:%n.git
+about-filter=/usr/lib/cgit/filters/about-formatting.sh
+enable-log-filecount=1
+enable-log-linecount=1
+enable-commit-graph=1
+max-stats=quarter
+virtual-root=/cgit/