Working config for dashboard / prometheus / grafana

This commit is contained in:
Mark Janssen 2024-07-14 21:58:41 +02:00
parent 8df1cba71c
commit c783601fa9
Signed by: foobar
GPG key ID: D8674D8FC4F69BD2
4 changed files with 12 additions and 7 deletions

View file

@ -4,10 +4,10 @@ location /prometheus/ {
proxy_pass http://localhost:9090/prometheus/;
include proxy_params;
{% for host in bitlair_ip_whitelist %}
allow {{ host }};
{% endif %}
allow "127.0.0.0/8"
{% for host in trusted_ranges | default([]) %}
allow {{ host.cidr }};
{% endfor %}
allow "127.0.0.0/8";
allow "::1";
deny all;
}