home · contact · privacy
Add GitWeb header.
[config] / buster / etc_files / website / etc / gitweb.conf
index c6d6f29f14976bb3c26e3d4823fed80a081b0d5e..88dea4744cd55940adba52952805e1ab1628be1a 100644 (file)
@@ -1,6 +1,9 @@
 # path to git projects (<project>.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";
@@ -16,4 +19,4 @@ $git_temp = "/tmp";
 $feature{'snapshot'}{'default'} = ['zip', 'tgz'];
 
 # insert header for GDPR compliance
-#$site_header = "/var/www/header.html"
+$site_header = "/var/www/header.html"