1 # DO NOT EDIT - This file is being maintained by Chef
 
   4         ServerName munin.openstreetmap.org
 
   5         ServerAlias munin.osm.org
 
   6         ServerAdmin webmaster@openstreetmap.org
 
   8         CustomLog /var/log/apache2/munin.openstreetmap.org-access.log combined
 
   9         ErrorLog /var/log/apache2/munin.openstreetmap.org-error.log
 
  12         SSLCertificateFile /etc/ssl/certs/munin.openstreetmap.org.pem
 
  13         SSLCertificateKeyFile /etc/ssl/private/munin.openstreetmap.org.key
 
  15         SetEnv RRDCACHED_ADDRESS /var/run/rrdcached.sock
 
  17         DocumentRoot /srv/munin.openstreetmap.org
 
  18         Alias /static/favicon.ico /srv/munin.openstreetmap.org/favicon.ico
 
  19         Alias /static/ /etc/munin/static/
 
  20         ScriptAlias /munin-cgi/ /usr/lib/munin/cgi/
 
  22         # Remove Proxy request header to mitigate https://httpoxy.org/
 
  23         RequestHeader unset Proxy early
 
  26         RewriteCond %{REQUEST_URI} !^/static/
 
  27         RewriteCond %{REQUEST_URI} !^/dumps/
 
  28         RewriteRule ^(/.*\.html)?$ /munin-cgi/munin-cgi-html/$1 [PT]
 
  32         ServerName munin.openstreetmap.org
 
  33         ServerAlias munin.osm.org
 
  34         ServerAdmin webmaster@openstreetmap.org
 
  36         CustomLog /var/log/apache2/munin.openstreetmap.org-access.log combined
 
  37         ErrorLog /var/log/apache2/munin.openstreetmap.org-error.log
 
  39         RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
 
  40         RedirectPermanent / https://munin.openstreetmap.org/
 
  43 <Directory /srv/munin.openstreetmap.org>
 
  47 <Directory /srv/munin.openstreetmap.org/dumps>
 
  51 <Directory /etc/munin/static>
 
  55 <Directory /usr/lib/munin/cgi>
 
  57         SetHandler fcgid-script