diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 18:49:06 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 18:49:06 +0200 |
commit | 3aaf0a587656e7e8155562435a031b54e2996a9a (patch) | |
tree | 948f7c6ca84e4baba82394dc1ef361c9b3778915 /odin.nix | |
parent | bc01ce4e45488a3c804d692cf151b477c5bd62b2 (diff) | |
download | nixos-3aaf0a587656e7e8155562435a031b54e2996a9a.tar nixos-3aaf0a587656e7e8155562435a031b54e2996a9a.tar.gz nixos-3aaf0a587656e7e8155562435a031b54e2996a9a.tar.bz2 nixos-3aaf0a587656e7e8155562435a031b54e2996a9a.tar.xz nixos-3aaf0a587656e7e8155562435a031b54e2996a9a.zip |
...
Diffstat (limited to 'odin.nix')
-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 | }; |