From 99452cac03db6a7d6bceb03c0505aa8064b67810 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 11 Mar 2017 22:44:01 +0100 Subject: Fix host variable --- bragi.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bragi.nix b/bragi.nix index d00f2598..3bef0daa 100644 --- a/bragi.nix +++ b/bragi.nix @@ -369,7 +369,7 @@ in rec { } location /bar/ { - proxy_set_header AppRoot "http://$server_name/bar"; + proxy_set_header AppRoot "http://$host/bar"; proxy_pass http://localhost:8082/; } } -- cgit v1.2.3