diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 16:18:47 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 16:18:47 +0100 |
commit | 8e3a8d3e5c46f45c5eb5047e8200804af46d943f (patch) | |
tree | bbed65fda80629569c44c5cddca62290e00d4b50 | |
parent | d78b100ea4e4546f1debe5eddb75bef3cfe631e3 (diff) | |
download | nixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.tar nixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.tar.gz nixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.tar.bz2 nixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.tar.xz nixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.zip |
Try host header
-rw-r--r-- | bragi/bar/generated.nix | 4 | ||||
-rw-r--r-- | 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 { | |||
13 | version = "0.2.0"; | 13 | version = "0.2.0"; |
14 | src = fetchgit { | 14 | src = fetchgit { |
15 | url = "git://git.yggdrasil.li/gkleen/pub/bar"; | 15 | url = "git://git.yggdrasil.li/gkleen/pub/bar"; |
16 | sha256 = "0ckl2viz1nrmqnf1igv1yd4drr6b1yip3wpijmr2fqyckij83jg9"; | 16 | sha256 = "0jvhfcwc4r2s7gj7iygnpnqpwk38h7y6hrr04ab3zn81kj06dsyg"; |
17 | rev = "37a032885b24bfaef9c493ff95294b65146b0f89"; | 17 | rev = "cf0197fb463a5e1235bee1e4bab07cec0d15097b"; |
18 | }; | 18 | }; |
19 | isLibrary = true; | 19 | isLibrary = true; |
20 | isExecutable = true; | 20 | 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 { | |||
161 | auth_basic_user_file /srv/www/bragi/htpasswd; | 161 | auth_basic_user_file /srv/www/bragi/htpasswd; |
162 | 162 | ||
163 | proxy_pass http://bragi.asgard.yggdrasil; | 163 | proxy_pass http://bragi.asgard.yggdrasil; |
164 | proxy_set_header Host $host; | ||
164 | } | 165 | } |
165 | } | 166 | } |
166 | ''; | 167 | ''; |