diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-05-06 20:37:06 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-05-06 20:37:06 +0200 |
| commit | f44ccb0e42dbe37c3deb8a3f542dd1831529f5ef (patch) | |
| tree | 52e6a54e470078de84be32ec6d7b09ab5a19a73e | |
| parent | 9c0ac82f9c433a300354942eb4972e789e04f303 (diff) | |
| download | nixos-f44ccb0e42dbe37c3deb8a3f542dd1831529f5ef.tar nixos-f44ccb0e42dbe37c3deb8a3f542dd1831529f5ef.tar.gz nixos-f44ccb0e42dbe37c3deb8a3f542dd1831529f5ef.tar.bz2 nixos-f44ccb0e42dbe37c3deb8a3f542dd1831529f5ef.tar.xz nixos-f44ccb0e42dbe37c3deb8a3f542dd1831529f5ef.zip | |
...
| -rw-r--r-- | odin.nix | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -494,6 +494,7 @@ | |||
| 494 | "/bar/".proxyPass = "http://bar/"; | 494 | "/bar/".proxyPass = "http://bar/"; |
| 495 | "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080/"; | 495 | "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080/"; |
| 496 | "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081/"; | 496 | "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081/"; |
| 497 | "/prometheus".proxyPass = "http://prometheus"; | ||
| 497 | }; | 498 | }; |
| 498 | }; | 499 | }; |
| 499 | 500 | ||
| @@ -501,6 +502,9 @@ | |||
| 501 | "bar" = { | 502 | "bar" = { |
| 502 | servers."localhost:${toString config.services.bar.port}"= {}; | 503 | servers."localhost:${toString config.services.bar.port}"= {}; |
| 503 | }; | 504 | }; |
| 505 | "prometheus" = { | ||
| 506 | servers."${config.services.prometheus.listenAddress}" = {}; | ||
| 507 | }; | ||
| 504 | }; | 508 | }; |
| 505 | }; | 509 | }; |
| 506 | 510 | ||
