diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 18:37:25 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 18:37:25 +0200 |
commit | 96bce76b709ac9697b80c97dcbc148076293e653 (patch) | |
tree | a2ca1dfa7517680a7a9167be31a96febf77d3436 | |
parent | 0ea03e419a64d33bc312fb44a001b6c43f0778e1 (diff) | |
download | nixos-96bce76b709ac9697b80c97dcbc148076293e653.tar nixos-96bce76b709ac9697b80c97dcbc148076293e653.tar.gz nixos-96bce76b709ac9697b80c97dcbc148076293e653.tar.bz2 nixos-96bce76b709ac9697b80c97dcbc148076293e653.tar.xz nixos-96bce76b709ac9697b80c97dcbc148076293e653.zip |
...
-rw-r--r-- | odin.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -446,7 +446,7 @@ | |||
446 | services.bar = { | 446 | services.bar = { |
447 | enable = true; | 447 | enable = true; |
448 | port = 8082; | 448 | port = 8082; |
449 | approot = ""; | 449 | approot = "/bar"; |
450 | ipFromHeader = true; | 450 | ipFromHeader = true; |
451 | }; | 451 | }; |
452 | 452 | ||
@@ -461,7 +461,7 @@ | |||
461 | serverAliases = [ "odin" "10.141.1.2" ]; | 461 | serverAliases = [ "odin" "10.141.1.2" ]; |
462 | 462 | ||
463 | locations = { | 463 | locations = { |
464 | "/bar/".proxyPass = "http://bar/"; | 464 | "/bar".proxyPass = "http://bar"; |
465 | }; | 465 | }; |
466 | }; | 466 | }; |
467 | 467 | ||