]> git.openstreetmap.org Git - chef.git/blob - cookbooks/munin/templates/default/apache.erb
Add HTTP 401 to aggregate error graph
[chef.git] / cookbooks / munin / templates / default / apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName munin.openstreetmap.org
5         ServerAlias munin.osm.org
6         ServerAdmin webmaster@openstreetmap.org
7
8         CustomLog /var/log/apache2/munin.openstreetmap.org-access.log combined
9         ErrorLog /var/log/apache2/munin.openstreetmap.org-error.log
10
11         SetEnv RRDCACHED_ADDRESS /var/run/rrdcached.sock
12
13         DocumentRoot /srv/munin.openstreetmap.org
14         Alias /static/favicon.ico /srv/munin.openstreetmap.org/favicon.ico
15         Alias /static/ /etc/munin/static/
16         ScriptAlias /munin-cgi/ /usr/lib/munin/cgi/
17
18         RewriteEngine on
19         RewriteCond %{REQUEST_URI} !^/static/
20         RewriteRule ^(/.*\.html)?$ /munin-cgi/munin-cgi-html/$1 [PT]
21 </VirtualHost>
22
23 <Directory /srv/munin.openstreetmap.org>
24         Require all granted
25 </Directory>
26
27 <Directory /etc/munin/static>
28         Require all granted
29 </Directory>
30
31 <Directory /usr/lib/munin/cgi>
32         Options +ExecCGI
33         SetHandler fcgid-script
34         Require all granted
35 </Directory>