mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-04-04 13:11:21 +02:00
Let nodes access their own prometheus metrics
This commit is contained in:
parent
db69d28b42
commit
a9d04ed286
@ -10,6 +10,8 @@
|
|||||||
systemd.services.prometheus-node-exporter.serviceConfig = {
|
systemd.services.prometheus-node-exporter.serviceConfig = {
|
||||||
IPAddressDeny = "any";
|
IPAddressDeny = "any";
|
||||||
IPAddressAllow = [
|
IPAddressAllow = [
|
||||||
|
"127.0.0.1"
|
||||||
|
"::1"
|
||||||
values.hosts.ildkule.ipv4
|
values.hosts.ildkule.ipv4
|
||||||
values.hosts.ildkule.ipv6
|
values.hosts.ildkule.ipv6
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user