X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/22014524ab710947798fed63c81cafad02bcfb45..6e0c9995ffe09af3f2fe836d95a612709179ebca:/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 b4c7c55ac..edc1647af 100644 --- a/cookbooks/prometheus/templates/default/apache.erb +++ b/cookbooks/prometheus/templates/default/apache.erb @@ -23,6 +23,15 @@ SSLCertificateFile /etc/ssl/certs/prometheus.openstreetmap.org.pem SSLCertificateKeyFile /etc/ssl/private/prometheus.openstreetmap.org.key + ProxyPass /prometheus http://localhost:9090/prometheus + Redirect 403 /alertmanager/api + ProxyPass /alertmanager http://localhost:9093/alertmanager ProxyPass / http://localhost:3000/ ProxyPreserveHost on + + +<% @admin_hosts.each do |host| -%> + Require ip <%= host %> +<% end -%> +