summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-05-06 20:56:11 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2019-05-06 20:56:11 +0200
commit7781454c8c07f1de7fa0d0fa0ab2784069c4c30b (patch)
treecc2fbf927a66b3bb7a06ee8b1902988e2ea4bec3
parent5a77fdd5b3a359f66be99bae46258c246e4db88b (diff)
downloadnixos-7781454c8c07f1de7fa0d0fa0ab2784069c4c30b.tar
nixos-7781454c8c07f1de7fa0d0fa0ab2784069c4c30b.tar.gz
nixos-7781454c8c07f1de7fa0d0fa0ab2784069c4c30b.tar.bz2
nixos-7781454c8c07f1de7fa0d0fa0ab2784069c4c30b.tar.xz
nixos-7781454c8c07f1de7fa0d0fa0ab2784069c4c30b.zip
...
-rw-r--r--odin.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/odin.nix b/odin.nix
index 7cfac3ec..48921a26 100644
--- a/odin.nix
+++ b/odin.nix
@@ -491,7 +491,7 @@
491 serverAliases = [ "odin" "10.141.1.2" ]; 491 serverAliases = [ "odin" "10.141.1.2" ];
492 492
493 locations = { 493 locations = {
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" = { 497 "/prometheus" = {
@@ -501,14 +501,14 @@
501 ''; 501 '';
502 proxyPass = "http://prometheus"; 502 proxyPass = "http://prometheus";
503 }; 503 };
504 "/grafana".proxyPass = "http://grafana"; 504 "/grafana".proxyPass = "http://grafana/";
505 }; 505 };
506 }; 506 };
507 507
508 upstreams = { 508 upstreams = {
509 "bar" = { 509 # "bar" = {
510 servers."localhost:${toString config.services.bar.port}"= {}; 510 # servers."localhost:${toString config.services.bar.port}"= {};
511 }; 511 # };
512 "prometheus" = { 512 "prometheus" = {
513 servers."${config.services.prometheus.listenAddress}" = {}; 513 servers."${config.services.prometheus.listenAddress}" = {};
514 }; 514 };