X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d9ece20f764c3cc016a209e4b358ed2131c6905f..f8a576aca1270f703f38c3257cf533390692de06:/cookbooks/prometheus/templates/default/apache.erb?ds=sidebyside diff --git a/cookbooks/prometheus/templates/default/apache.erb b/cookbooks/prometheus/templates/default/apache.erb index fe910eb18..f03cf1049 100644 --- a/cookbooks/prometheus/templates/default/apache.erb +++ b/cookbooks/prometheus/templates/default/apache.erb @@ -5,7 +5,7 @@ ServerAlias prometheus.osm.org ServerAdmin webmaster@openstreetmap.org - CustomLog /var/log/apache2/prometheus.openstreetmap.org-access.log combined + CustomLog /var/log/apache2/prometheus.openstreetmap.org-access.log combined_extended ErrorLog /var/log/apache2/prometheus.openstreetmap.org-error.log RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ @@ -16,7 +16,7 @@ ServerName prometheus.openstreetmap.org ServerAdmin webmaster@openstreetmap.org - CustomLog /var/log/apache2/prometheus.openstreetmap.org-access.log combined + CustomLog /var/log/apache2/prometheus.openstreetmap.org-access.log combined_extended ErrorLog /var/log/apache2/prometheus.openstreetmap.org-error.log SSLEngine on @@ -46,3 +46,30 @@ <% end -%> + + + ServerName munin.openstreetmap.org + ServerAlias munin.osm.org + ServerAdmin webmaster@openstreetmap.org + + CustomLog /var/log/apache2/munin.openstreetmap.org-access.log combined_extended + ErrorLog /var/log/apache2/munin.openstreetmap.org-error.log + + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ + Redirect permanent / https://prometheus.openstreetmap.org/ + + + + ServerName munin.openstreetmap.org + ServerAlias munin.osm.org + ServerAdmin webmaster@openstreetmap.org + + CustomLog /var/log/apache2/munin.openstreetmap.org-access.log combined_extended + ErrorLog /var/log/apache2/munin.openstreetmap.org-error.log + + SSLEngine on + SSLCertificateFile /etc/ssl/certs/prometheus.openstreetmap.org.pem + SSLCertificateKeyFile /etc/ssl/private/prometheus.openstreetmap.org.key + + Redirect permanent / https://prometheus.openstreetmap.org/ +