summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 };