diff --git a/cookbooks/prometheus/templates/default/apache.erb b/cookbooks/prometheus/templates/default/apache.erb index 1dead4474..e6290caed 100644 --- a/cookbooks/prometheus/templates/default/apache.erb +++ b/cookbooks/prometheus/templates/default/apache.erb @@ -23,6 +23,7 @@ SSLCertificateFile /etc/ssl/certs/prometheus.openstreetmap.org.pem SSLCertificateKeyFile /etc/ssl/private/prometheus.openstreetmap.org.key + Redirect 403 /prometheus/api/v1/admin ProxyPass /prometheus http://localhost:9090/prometheus Redirect 403 /alertmanager/api ProxyPass /alertmanager http://localhost:9093/alertmanager