summaryrefslogtreecommitdiff
path: root/custom/ymir-nginx.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-16 16:18:47 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-16 16:18:47 +0100
commit8e3a8d3e5c46f45c5eb5047e8200804af46d943f (patch)
treebbed65fda80629569c44c5cddca62290e00d4b50 /custom/ymir-nginx.nix
parentd78b100ea4e4546f1debe5eddb75bef3cfe631e3 (diff)
downloadnixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.tar
nixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.tar.gz
nixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.tar.bz2
nixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.tar.xz
nixos-8e3a8d3e5c46f45c5eb5047e8200804af46d943f.zip
Try host header
Diffstat (limited to 'custom/ymir-nginx.nix')
-rw-r--r--custom/ymir-nginx.nix1
1 files changed, 1 insertions, 0 deletions
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 '';