Deny all https access to the private chef repo
authorTom Hughes <tom@compton.nu>
Sun, 24 Jun 2018 16:04:43 +0000 (17:04 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 24 Jun 2018 16:04:43 +0000 (17:04 +0100)
cookbooks/git/templates/default/apache.erb

index 374ec2c..9ec36f7 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>