summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-05-06 20:57:30 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2019-05-06 20:57:30 +0200
commit9ee23f77618e7eb63a11d67ebf8b623402b2dbca (patch)
tree435fa844f5991897f9e96b187f103098ce52c1f8
parent7781454c8c07f1de7fa0d0fa0ab2784069c4c30b (diff)
downloadnixos-9ee23f77618e7eb63a11d67ebf8b623402b2dbca.tar
nixos-9ee23f77618e7eb63a11d67ebf8b623402b2dbca.tar.gz
nixos-9ee23f77618e7eb63a11d67ebf8b623402b2dbca.tar.bz2
nixos-9ee23f77618e7eb63a11d67ebf8b623402b2dbca.tar.xz
nixos-9ee23f77618e7eb63a11d67ebf8b623402b2dbca.zip
...
-rw-r--r--odin.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index 48921a26..81a32c06 100644
--- a/odin.nix
+++ b/odin.nix
@@ -492,6 +492,9 @@
492 492
493 locations = { 493 locations = {
494 # "/bar".proxyPass = "http://bar/"; 494 # "/bar".proxyPass = "http://bar/";
495 "/".extraConfig = ''
496 return 301 /grafana/;
497 '';
495 "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080/"; 498 "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080/";
496 "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081/"; 499 "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081/";
497 "/prometheus" = { 500 "/prometheus" = {