From dced397f2fec389769e9d11963246bf919c9ea6d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Mar 2017 17:29:28 +0100 Subject: Does proxy_set_header just set a default? --- custom/ymir-nginx.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'custom') 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 { auth_basic_user_file /srv/www/bragi/htpasswd; proxy_pass http://bragi.asgard.yggdrasil; - proxy_set_header AppRoot $host; + + location /bar/ { + proxy_set_header AppRoot $host/bar; + } } } ''; -- cgit v1.2.3