X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/778dafe1b60675abedacec30bbbec1e174fec5b0..3e078bc66a67f35c3737ebe6be5cddd9cf2328de:/cookbooks/prometheus/templates/default/apache.erb?ds=inline
diff --git a/cookbooks/prometheus/templates/default/apache.erb b/cookbooks/prometheus/templates/default/apache.erb
index 00760ed43..629e409e2 100644
--- a/cookbooks/prometheus/templates/default/apache.erb
+++ b/cookbooks/prometheus/templates/default/apache.erb
@@ -26,6 +26,19 @@
ProxyPass /prometheus http://localhost:9090/prometheus
Redirect 403 /alertmanager/api
ProxyPass /alertmanager http://localhost:9093/alertmanager
+ ProxyPass /karma http://localhost:8081/karma
ProxyPass / http://localhost:3000/
ProxyPreserveHost on
+
+
+<% @admin_hosts.each do |host| -%>
+ Require ip <%= host %>
+<% end -%>
+
+
+
+<% @admin_hosts.each do |host| -%>
+ Require ip <%= host %>
+<% end -%>
+