aboutsummaryrefslogtreecommitdiff
path: root/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'cgitrc')
-rw-r--r--cgitrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
index a4be584..f0930ef 100644
--- a/cgitrc
+++ b/cgitrc
@@ -34,6 +34,9 @@ scan-path=/srv/git
# this has to be empty for cgit to work with a reverse proxy
virtual-root=
+# use the first path component of the repository path as the section name
+section-from-path=1
+
#
# Search for these files in the root of the default branch of repositories
# for coming up with the about page: