summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odin.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index f19688d2..da078c91 100644
--- a/odin.nix
+++ b/odin.nix
@@ -461,6 +461,9 @@
461 serverAliases = [ "odin" "10.141.1.2" ]; 461 serverAliases = [ "odin" "10.141.1.2" ];
462 462
463 locations = { 463 locations = {
464 "/bar".extraConfig = ''
465 return 301 /bar/
466 '';
464 "/bar/".proxyPass = "http://bar/"; 467 "/bar/".proxyPass = "http://bar/";
465 }; 468 };
466 }; 469 };