From 08b517c31ac92357d6b08476b61dbd4f50b5e0b8 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 17 Feb 2018 17:41:29 +0100 Subject: machines/haku: pass to v4 localhost warpspeed explicitely Apparently nginx resolves localhost to [::1] in a newer version by defaul, yet my static file server only binds to 127.0.0.1. --- machines/profpatsch/haku.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix index 0dece75d..30abc66e 100644 --- a/machines/profpatsch/haku.nix +++ b/machines/profpatsch/haku.nix @@ -73,7 +73,7 @@ in forceSSL = true; enableACME = true; locations."/pub/" = { - proxyPass = "http://localhost:${toString warpspeedPort}/"; + proxyPass = "http://127.0.0.1:${toString warpspeedPort}/"; }; locations."/".root = pkgs.writeTextDir "index.html" ''coi do''; serverAliases = [ "lojbanistan.de" ]; -- cgit 1.4.1