summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/odin.nix b/odin.nix
index 43b19108..3f209ae9 100644
--- a/odin.nix
+++ b/odin.nix
@@ -496,9 +496,14 @@
496 496
497 locations = { 497 locations = {
498 # "/bar".proxyPass = "http://bar/"; 498 # "/bar".proxyPass = "http://bar/";
499 "/".extraConfig = '' 499 "/" = {
500 return 302 /grafana/; 500 root = /srv/media/;
501 ''; 501 extraConfig = ''
502 autoindex on;
503 autoindex_localtime on;
504 autoindex_exact_size off;
505 '';
506 };
502 "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080/"; 507 "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080/";
503 "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081/"; 508 "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081/";
504 "/prometheus" = { 509 "/prometheus" = {