summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-16 17:33:03 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-16 17:33:03 +0100
commita071c5116ff1a61692504de6f2e5a2174420a2b3 (patch)
treefd7f72be6e4ef55b77370b744a5b025512a15bd0
parentdced397f2fec389769e9d11963246bf919c9ea6d (diff)
downloadnixos-a071c5116ff1a61692504de6f2e5a2174420a2b3.tar
nixos-a071c5116ff1a61692504de6f2e5a2174420a2b3.tar.gz
nixos-a071c5116ff1a61692504de6f2e5a2174420a2b3.tar.bz2
nixos-a071c5116ff1a61692504de6f2e5a2174420a2b3.tar.xz
nixos-a071c5116ff1a61692504de6f2e5a2174420a2b3.zip
Scheme
-rw-r--r--bragi.nix2
-rw-r--r--custom/ymir-nginx.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/bragi.nix b/bragi.nix
index 36ac556b..58dd6441 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -383,7 +383,7 @@ in rec {
383 383
384 location /bar/ { 384 location /bar/ {
385 proxy_pass http://[::1]:8082; 385 proxy_pass http://[::1]:8082;
386 proxy_set_header AppRoot $host/bar; 386 proxy_set_header AppRoot $scheme://$host/bar;
387 } 387 }
388 } 388 }
389 ''; 389 '';
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix
index bf0c8e67..b9d77844 100644
--- a/custom/ymir-nginx.nix
+++ b/custom/ymir-nginx.nix
@@ -163,7 +163,7 @@ in {
163 proxy_pass http://bragi.asgard.yggdrasil; 163 proxy_pass http://bragi.asgard.yggdrasil;
164 164
165 location /bar/ { 165 location /bar/ {
166 proxy_set_header AppRoot $host/bar; 166 proxy_set_header AppRoot $scheme://$host/bar;
167 } 167 }
168 } 168 }
169 } 169 }