From a071c5116ff1a61692504de6f2e5a2174420a2b3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Mar 2017 17:33:03 +0100 Subject: Scheme --- bragi.nix | 2 +- custom/ymir-nginx.nix | 2 +- 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 { location /bar/ { proxy_pass http://[::1]:8082; - proxy_set_header AppRoot $host/bar; + proxy_set_header AppRoot $scheme://$host/bar; } } ''; 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 { proxy_pass http://bragi.asgard.yggdrasil; location /bar/ { - proxy_set_header AppRoot $host/bar; + proxy_set_header AppRoot $scheme://$host/bar; } } } -- cgit v1.2.3