1 # DO NOT EDIT - This file is being maintained by Prometheus
4 ServerName prometheus.openstreetmap.org
5 ServerAlias prometheus.osm.org
6 ServerAdmin webmaster@openstreetmap.org
8 CustomLog /var/log/apache2/prometheus.openstreetmap.org-access.log combined_extended
9 ErrorLog /var/log/apache2/prometheus.openstreetmap.org-error.log
11 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
12 Redirect permanent / https://prometheus.openstreetmap.org/
16 ServerName prometheus.openstreetmap.org
17 ServerAdmin webmaster@openstreetmap.org
19 CustomLog /var/log/apache2/prometheus.openstreetmap.org-access.log combined_extended
20 ErrorLog /var/log/apache2/prometheus.openstreetmap.org-error.log
23 SSLCertificateFile /etc/ssl/certs/prometheus.openstreetmap.org.pem
24 SSLCertificateKeyFile /etc/ssl/private/prometheus.openstreetmap.org.key
26 ProxyPass /prometheus http://localhost:9090/prometheus
27 ProxyPass /alertmanager http://localhost:9093/alertmanager
28 ProxyPass /karma http://localhost:8081/karma
29 ProxyPass /api/live/ws ws://localhost:3000/api/live/ws
30 ProxyPass / http://localhost:3000/
33 <Location /prometheus/api/v1/admin>
37 <Location /alertmanager>
38 <% @admin_hosts.each do |host| -%>
39 Require ip <%= host %>
44 <% @admin_hosts.each do |host| -%>
45 Require ip <%= host %>
51 ServerName munin.openstreetmap.org
52 ServerAlias munin.osm.org
53 ServerAdmin webmaster@openstreetmap.org
55 CustomLog /var/log/apache2/munin.openstreetmap.org-access.log combined_extended
56 ErrorLog /var/log/apache2/munin.openstreetmap.org-error.log
58 RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
59 Redirect permanent / https://prometheus.openstreetmap.org/
63 ServerName munin.openstreetmap.org
64 ServerAlias munin.osm.org
65 ServerAdmin webmaster@openstreetmap.org
67 CustomLog /var/log/apache2/munin.openstreetmap.org-access.log combined_extended
68 ErrorLog /var/log/apache2/munin.openstreetmap.org-error.log
71 SSLCertificateFile /etc/ssl/certs/prometheus.openstreetmap.org.pem
72 SSLCertificateKeyFile /etc/ssl/private/prometheus.openstreetmap.org.key
74 Redirect permanent / https://prometheus.openstreetmap.org/