diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 18:43:07 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 18:43:07 +0200 |
commit | fbfd6d9ceb55db1330695961a3916e9323941060 (patch) | |
tree | ef8c7d8bead98affa0909b2b4d2d47e9d0f3e649 | |
parent | d233652b78e576f004becafba59b0bc5f4965752 (diff) | |
download | nixos-fbfd6d9ceb55db1330695961a3916e9323941060.tar nixos-fbfd6d9ceb55db1330695961a3916e9323941060.tar.gz nixos-fbfd6d9ceb55db1330695961a3916e9323941060.tar.bz2 nixos-fbfd6d9ceb55db1330695961a3916e9323941060.tar.xz nixos-fbfd6d9ceb55db1330695961a3916e9323941060.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 = "/bar"; | 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 | ||