]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/git/templates/default/apache.erb
Add extension to validate OSM usernames
[chef.git] / cookbooks / git / templates / default / apache.erb
index 374ec2cf58c63997af97ad4619390b1c92bf56a7..9ec36f7d85a72d771cdfb238ce1c080c7cd670c9 100644 (file)
         <Location /private>
                   Require ip <%= @private_allowed.sort.join(" ") %>
         </Location>
+
+        <Location /private/chef.git>
+                  Require all denied
+        </Location>
 </VirtualHost>
 
 <Directory /usr/lib/git-core>