X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/778dafe1b60675abedacec30bbbec1e174fec5b0..6e0c9995ffe09af3f2fe836d95a612709179ebca:/cookbooks/prometheus/templates/default/apache.erb diff --git a/cookbooks/prometheus/templates/default/apache.erb b/cookbooks/prometheus/templates/default/apache.erb index 00760ed43..edc1647af 100644 --- a/cookbooks/prometheus/templates/default/apache.erb +++ b/cookbooks/prometheus/templates/default/apache.erb @@ -28,4 +28,10 @@ ProxyPass /alertmanager http://localhost:9093/alertmanager ProxyPass / http://localhost:3000/ ProxyPreserveHost on + + +<% @admin_hosts.each do |host| -%> + Require ip <%= host %> +<% end -%> +