]> git.openstreetmap.org Git - chef.git/commitdiff
Block access to some piwik internals
authorTom Hughes <tom@compton.nu>
Mon, 21 Mar 2022 00:47:04 +0000 (00:47 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 21 Mar 2022 00:47:04 +0000 (00:47 +0000)
cookbooks/piwik/templates/default/apache.erb

index f513ce9c2c8ddfc4d49d2ee9d498669b7fa550b5..f1278a31fb921af7021b37ad9a0f56dda8015973 100644 (file)
        Options -Indexes
 
        DocumentRoot /srv/piwik.openstreetmap.org
+
+       Redirect 403 /core/
+       Redirect 403 /config/
+       Redirect 403 /lang/
+       Redirect 403 /tmp/
 </VirtualHost>
 
 <VirtualHost *:80>