diff options
-rw-r--r-- | odin.nix | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 | }; |