X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/778dafe1b60675abedacec30bbbec1e174fec5b0..3c4f3eaeb6715b18911b951f8b704818efb0ce3a:/cookbooks/prometheus/templates/default/apache.erb diff --git a/cookbooks/prometheus/templates/default/apache.erb b/cookbooks/prometheus/templates/default/apache.erb index 00760ed43..c20daa31e 100644 --- a/cookbooks/prometheus/templates/default/apache.erb +++ b/cookbooks/prometheus/templates/default/apache.erb @@ -24,8 +24,29 @@ 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 /karma http://localhost:8081/karma + ProxyPass /api/live/ws ws://localhost:3000/api/live/ws ProxyPass / http://localhost:3000/ ProxyPreserveHost on + + + Require all denied + + + +<% @admin_hosts.each do |host| -%> + Require ip <%= host %> +<% end -%> + + + + Require all denied + + + +<% @admin_hosts.each do |host| -%> + Require ip <%= host %> +<% end -%> +