diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 17:29:28 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 17:29:28 +0100 |
commit | dced397f2fec389769e9d11963246bf919c9ea6d (patch) | |
tree | 83302f6d91f44ae4d8685b2ca2ac086352b0a64f /custom | |
parent | c8f5fe9cc585849921c7f79b29fd50c74e5d67e8 (diff) | |
download | nixos-dced397f2fec389769e9d11963246bf919c9ea6d.tar nixos-dced397f2fec389769e9d11963246bf919c9ea6d.tar.gz nixos-dced397f2fec389769e9d11963246bf919c9ea6d.tar.bz2 nixos-dced397f2fec389769e9d11963246bf919c9ea6d.tar.xz nixos-dced397f2fec389769e9d11963246bf919c9ea6d.zip |
Does proxy_set_header just set a default?
Diffstat (limited to 'custom')
-rw-r--r-- | custom/ymir-nginx.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 3953176f..bf0c8e67 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -161,7 +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 | proxy_set_header AppRoot $host; | 164 | |
165 | location /bar/ { | ||
166 | proxy_set_header AppRoot $host/bar; | ||
167 | } | ||
165 | } | 168 | } |
166 | } | 169 | } |
167 | ''; | 170 | ''; |