diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-05-06 20:50:57 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-05-06 20:50:57 +0200 |
| commit | 5a77fdd5b3a359f66be99bae46258c246e4db88b (patch) | |
| tree | 9387e89530000acce871a8a0254b5197f1f0f478 | |
| parent | b1948b378bdbd8ea3fd3cc2c59644dce8ff05268 (diff) | |
| download | nixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.tar nixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.tar.gz nixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.tar.bz2 nixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.tar.xz nixos-5a77fdd5b3a359f66be99bae46258c246e4db88b.zip | |
...
| -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 | }; |
