From 3aaf0a587656e7e8155562435a031b54e2996a9a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 8 Sep 2018 18:49:06 +0200 Subject: ... --- odin.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/odin.nix b/odin.nix index f19688d2..da078c91 100644 --- a/odin.nix +++ b/odin.nix @@ -461,6 +461,9 @@ serverAliases = [ "odin" "10.141.1.2" ]; locations = { + "/bar".extraConfig = '' + return 301 /bar/ + ''; "/bar/".proxyPass = "http://bar/"; }; }; -- cgit v1.2.3