diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 15:03:15 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 15:03:15 +0100 |
commit | 4dfabd555d669885b09f63d83b5bfb2a41bb2466 (patch) | |
tree | 4868bf9ac1fa196b77bba98c9087d54f64c0450c /custom/ymir-nginx.nix | |
parent | f8d69428cd1d512247bb7fb3296b0833f23687fa (diff) | |
download | nixos-4dfabd555d669885b09f63d83b5bfb2a41bb2466.tar nixos-4dfabd555d669885b09f63d83b5bfb2a41bb2466.tar.gz nixos-4dfabd555d669885b09f63d83b5bfb2a41bb2466.tar.bz2 nixos-4dfabd555d669885b09f63d83b5bfb2a41bb2466.tar.xz nixos-4dfabd555d669885b09f63d83b5bfb2a41bb2466.zip |
AppRoot
Diffstat (limited to 'custom/ymir-nginx.nix')
-rw-r--r-- | custom/ymir-nginx.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 94e6f1ed..b2ab4b69 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -161,6 +161,10 @@ 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 | |||
165 | location /bar { | ||
166 | proxy_set_header AppRoot "https://$host/bar.ymir"; | ||
167 | } | ||
164 | } | 168 | } |
165 | } | 169 | } |
166 | ''; | 170 | ''; |