Working config for dashboard / prometheus / grafana
This commit is contained in:
parent
8df1cba71c
commit
c783601fa9
4 changed files with 12 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue