diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 18:57:39 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 18:57:39 +0200 |
commit | c8001504049e72de58854830bfc216a30f35c51d (patch) | |
tree | a2ca1dfa7517680a7a9167be31a96febf77d3436 | |
parent | f1503476058d62e5a1d76d0d20ff07ec0e5f8e10 (diff) | |
download | nixos-c8001504049e72de58854830bfc216a30f35c51d.tar nixos-c8001504049e72de58854830bfc216a30f35c51d.tar.gz nixos-c8001504049e72de58854830bfc216a30f35c51d.tar.bz2 nixos-c8001504049e72de58854830bfc216a30f35c51d.tar.xz nixos-c8001504049e72de58854830bfc216a30f35c51d.zip |
...
-rw-r--r-- | odin.nix | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -461,10 +461,7 @@ | |||
461 | serverAliases = [ "odin" "10.141.1.2" ]; | 461 | serverAliases = [ "odin" "10.141.1.2" ]; |
462 | 462 | ||
463 | locations = { | 463 | locations = { |
464 | "/bar".extraConfig = '' | 464 | "/bar".proxyPass = "http://bar"; |
465 | return 301 /bar/; | ||
466 | ''; | ||
467 | "/bar".proxyPass = "http://bar/"; | ||
468 | }; | 465 | }; |
469 | }; | 466 | }; |
470 | 467 | ||