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? --- bragi.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bragi.nix') diff --git a/bragi.nix b/bragi.nix index 6f0062d2..36ac556b 100644 --- a/bragi.nix +++ b/bragi.nix @@ -382,12 +382,8 @@ in rec { } location /bar/ { - map $http_AppRoot $approot { - default $http_AppRoot; - ''' $host/bar; - } proxy_pass http://[::1]:8082; - proxy_set_header AppRoot $approot; + proxy_set_header AppRoot $host/bar; } } ''; -- cgit v1.2.3