diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 20:04:29 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 20:04:29 +0100 |
commit | f632a7cf5878e9710da88d7ae827c7f9405f0f45 (patch) | |
tree | 72765e7c8fcb448ef69ef925243d81111091eed4 /custom/ymir-nginx.nix | |
parent | 8768241c7d935cc5cc866a1054a688cc37356cc9 (diff) | |
download | nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.tar nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.tar.gz nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.tar.bz2 nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.tar.xz nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.zip |
Approot setting for bar
Diffstat (limited to 'custom/ymir-nginx.nix')
-rw-r--r-- | custom/ymir-nginx.nix | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 33a9411a..94e6f1ed 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -161,10 +161,6 @@ 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 $scheme://$host/bar; | ||
167 | } | ||
168 | } | 164 | } |
169 | } | 165 | } |
170 | ''; | 166 | ''; |