about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2018-02-17 17:41:29 +0100
committerProfpatsch <mail@profpatsch.de>2018-02-17 17:41:29 +0100
commit08b517c31ac92357d6b08476b61dbd4f50b5e0b8 (patch)
treee5c63527a24aa7a8a3ba227ac8ef143155b68782 /machines
parentf915772f4fad43464ec0294783275100b550d0d0 (diff)
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.
Diffstat (limited to 'machines')
-rw-r--r--machines/profpatsch/haku.nix2
1 files changed, 1 insertions, 1 deletions
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" ];