From: Christian Heller Date: Thu, 19 Mar 2020 22:52:46 +0000 (+0100) Subject: Only make publically visible repos that contain git-daemon-export-ok. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/te%22st.html?a=commitdiff_plain;h=03486eecc14da2df78d5fb97a8d2e94000b28671;p=config Only make publically visible repos that contain git-daemon-export-ok. --- diff --git a/buster/etc_files/website/etc/gitweb.conf b/buster/etc_files/website/etc/gitweb.conf index c6d6f29..70bfa2d 100644 --- a/buster/etc_files/website/etc/gitweb.conf +++ b/buster/etc_files/website/etc/gitweb.conf @@ -1,6 +1,9 @@ # path to git projects (.git) $projectroot = "/var/repos"; +# don't show repos without git-daemon-export-ok file +$export_ok = "git-daemon-export-ok"; + # directory to use for temp files # explicitely set by Debian so it's probably a good choice $git_temp = "/tmp";