From f44ccb0e42dbe37c3deb8a3f542dd1831529f5ef Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 6 May 2019 20:37:06 +0200 Subject: ... --- odin.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/odin.nix b/odin.nix index cdb0959c..698f71eb 100644 --- a/odin.nix +++ b/odin.nix @@ -494,6 +494,7 @@ "/bar/".proxyPass = "http://bar/"; "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080/"; "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081/"; + "/prometheus".proxyPass = "http://prometheus"; }; }; @@ -501,6 +502,9 @@ "bar" = { servers."localhost:${toString config.services.bar.port}"= {}; }; + "prometheus" = { + servers."${config.services.prometheus.listenAddress}" = {}; + }; }; }; -- cgit v1.2.3