]> git.openstreetmap.org Git - chef.git/commitdiff
Tighten access restrictions on git.osm.org
authorTom Hughes <tom@compton.nu>
Fri, 16 Aug 2024 18:15:10 +0000 (19:15 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 16 Aug 2024 18:15:10 +0000 (19:15 +0100)
cookbooks/git/templates/default/apache.erb

index 3212b2b21faed3666ce2c5bf95ef19bf5dedd247..daff9de8849c8a0e88fc7d88de2a21c79988d4c0 100644 (file)
@@ -65,7 +65,7 @@
         Alias /git /var/cache/git
         ScriptAlias / /usr/lib/cgi-bin/gitweb.cgi/
 
-        <Location />
+        <Location /public>
                   Require all granted
         </Location>
 <% unless @private_allowed.empty? -%>