mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-29 14:27:12 +02:00
security: bind aquamarine metrics exporters to loopback
This commit is contained in:
@@ -82,7 +82,8 @@
|
||||
# https://github.com/wi1dcard/v2ray-exporter
|
||||
services.prometheus.exporters.v2ray = {
|
||||
enable = true;
|
||||
listenAddress = "0.0.0.0";
|
||||
# loopback only: scraped by VictoriaMetrics on the same host
|
||||
listenAddress = "127.0.0.1";
|
||||
port = 9153;
|
||||
openFirewall = false;
|
||||
v2rayEndpoint = "127.0.0.1:54321";
|
||||
|
||||
Reference in New Issue
Block a user