From c86f5a569785172cd5631aeca6fd12a4220d3183 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Mon, 11 May 2026 19:24:17 +0100 Subject: Simplify readme file configuration in cgitrc --- cgitrc | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) (limited to 'cgitrc') diff --git a/cgitrc b/cgitrc index 2df6b80..0ce1f26 100644 --- a/cgitrc +++ b/cgitrc @@ -41,38 +41,8 @@ max-stats=year # 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: -# -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.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 +# set readme file +readme=README.md # this has to be empty for cgit to work with a reverse proxy virtual-root= \ No newline at end of file -- cgit v1.2.3