projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a23861f
)
Enable directory indexes for munin/dumps
author
Tom Hughes
<tom@compton.nu>
Tue, 24 Jan 2017 12:33:39 +0000
(12:33 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 24 Jan 2017 12:33:58 +0000
(12:33 +0000)
cookbooks/munin/templates/default/apache.erb
patch
|
blob
|
history
diff --git
a/cookbooks/munin/templates/default/apache.erb
b/cookbooks/munin/templates/default/apache.erb
index 15c5009e66c1739776769b294363c4989531f7a9..e59c33fb0943bd7387eabb168fd2a966c6fe3109 100644
(file)
--- a/
cookbooks/munin/templates/default/apache.erb
+++ b/
cookbooks/munin/templates/default/apache.erb
@@
-20,6
+20,7
@@
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/static/
+ RewriteCond %{REQUEST_URI} !^/dumps/
RewriteRule ^(/.*\.html)?$ /munin-cgi/munin-cgi-html/$1 [PT]
</VirtualHost>
@@
-27,6
+28,10
@@
Require all granted
</Directory>
+<Directory /srv/munin.openstreetmap.org/dumps>
+ Options +Indexes
+</Directory>
+
<Directory /etc/munin/static>
Require all granted
</Directory>