diff options
-rw-r--r-- | odin.nix | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 | }; |