From 8e3a8d3e5c46f45c5eb5047e8200804af46d943f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Mar 2017 16:18:47 +0100 Subject: Try host header --- bragi/bar/generated.nix | 4 ++-- custom/ymir-nginx.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bragi/bar/generated.nix b/bragi/bar/generated.nix index 49f19329..d3fa05bd 100644 --- a/bragi/bar/generated.nix +++ b/bragi/bar/generated.nix @@ -13,8 +13,8 @@ mkDerivation { version = "0.2.0"; src = fetchgit { url = "git://git.yggdrasil.li/gkleen/pub/bar"; - sha256 = "0ckl2viz1nrmqnf1igv1yd4drr6b1yip3wpijmr2fqyckij83jg9"; - rev = "37a032885b24bfaef9c493ff95294b65146b0f89"; + sha256 = "0jvhfcwc4r2s7gj7iygnpnqpwk38h7y6hrr04ab3zn81kj06dsyg"; + rev = "cf0197fb463a5e1235bee1e4bab07cec0d15097b"; }; isLibrary = true; isExecutable = true; diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 2639cf07..ed679c57 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -161,6 +161,7 @@ in { auth_basic_user_file /srv/www/bragi/htpasswd; proxy_pass http://bragi.asgard.yggdrasil; + proxy_set_header Host $host; } } ''; -- cgit v1.2.3