summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }