summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-05-06 20:50:57 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2019-05-06 20:50:57 +0200
commit5a77fdd5b3a359f66be99bae46258c246e4db88b (patch)
tree9387e89530000acce871a8a0254b5197f1f0f478
parentb1948b378bdbd8ea3fd3cc2c59644dce8ff05268 (diff)
downloadnixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.tar
nixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.tar.gz
nixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.tar.bz2
nixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.tar.xz
nixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.zip
...
-rw-r--r--odin.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/odin.nix b/odin.nix
index 87cc9096..7cfac3ec 100644
--- a/odin.nix
+++ b/odin.nix
@@ -494,7 +494,13 @@
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 "/prometheus" = {
498 extraConfig = ''
499 auth_basic "Yggdrasil";
500 auth_basic_user_file /etc/yggdrasil.htpasswd;
501 '';
502 proxyPass = "http://prometheus";
503 };
498 "/grafana".proxyPass = "http://grafana"; 504 "/grafana".proxyPass = "http://grafana";
499 }; 505 };
500 }; 506 };