X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..1415d2444cd7d173ece1adf827199e238240cdb4:/cookbooks/prometheus/templates/default/apache.erb diff --git a/cookbooks/prometheus/templates/default/apache.erb b/cookbooks/prometheus/templates/default/apache.erb index 629e409e2..fe910eb18 100644 --- a/cookbooks/prometheus/templates/default/apache.erb +++ b/cookbooks/prometheus/templates/default/apache.erb @@ -24,12 +24,16 @@ 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 %>