]> Untitled Git - gitweb.git/blobdiff - gitweb.conf
Only allow export of approved repos
[gitweb.git] / gitweb.conf
index 29c463f39cc1290a072d8c69349d2e6928ee21c5..8a6b0eec7b0cc4776730da8f25ad299e16e34265 100644 (file)
@@ -13,6 +13,10 @@ $home_link = "/";
 # file with project list; by default, simply scan the projectroot dir.
 $projects_list = $projectroot;
 
 # file with project list; by default, simply scan the projectroot dir.
 $projects_list = $projectroot;
 
+# https://git-scm.com/docs/gitweb
+# only allow export of approved repos
+our $export_ok = "git-daemon-export-ok";
+
 # stylesheet to use
 #@stylesheets = ("static/gitweb.css");
 
 # stylesheet to use
 #@stylesheets = ("static/gitweb.css");