]> git.openstreetmap.org Git - chef.git/commitdiff
Enable directory indexes for munin/dumps
authorTom Hughes <tom@compton.nu>
Tue, 24 Jan 2017 12:33:39 +0000 (12:33 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 24 Jan 2017 12:33:58 +0000 (12:33 +0000)
cookbooks/munin/templates/default/apache.erb

index 15c5009e66c1739776769b294363c4989531f7a9..e59c33fb0943bd7387eabb168fd2a966c6fe3109 100644 (file)
@@ -20,6 +20,7 @@
 
        RewriteEngine on
        RewriteCond %{REQUEST_URI} !^/static/
+       RewriteCond %{REQUEST_URI} !^/dumps/
        RewriteRule ^(/.*\.html)?$ /munin-cgi/munin-cgi-html/$1 [PT]
 </VirtualHost>
 
        Require all granted
 </Directory>
 
+<Directory /srv/munin.openstreetmap.org/dumps>
+       Options +Indexes
+</Directory>
+
 <Directory /etc/munin/static>
        Require all granted
 </Directory>