summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-08 18:49:06 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-08 18:49:06 +0200
commit3aaf0a587656e7e8155562435a031b54e2996a9a (patch)
tree948f7c6ca84e4baba82394dc1ef361c9b3778915
parentbc01ce4e45488a3c804d692cf151b477c5bd62b2 (diff)
downloadnixos-3aaf0a587656e7e8155562435a031b54e2996a9a.tar
nixos-3aaf0a587656e7e8155562435a031b54e2996a9a.tar.gz
nixos-3aaf0a587656e7e8155562435a031b54e2996a9a.tar.bz2
nixos-3aaf0a587656e7e8155562435a031b54e2996a9a.tar.xz
nixos-3aaf0a587656e7e8155562435a031b54e2996a9a.zip
...
-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 };