From 9ee23f77618e7eb63a11d67ebf8b623402b2dbca Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 6 May 2019 20:57:30 +0200 Subject: ... --- odin.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/odin.nix b/odin.nix index 48921a26..81a32c06 100644 --- a/odin.nix +++ b/odin.nix @@ -492,6 +492,9 @@ locations = { # "/bar".proxyPass = "http://bar/"; + "/".extraConfig = '' + return 301 /grafana/; + ''; "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080/"; "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081/"; "/prometheus" = { -- cgit v1.2.3