diff options
author | Profpatsch <mail@profpatsch.de> | 2018-02-17 17:41:29 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2018-02-17 17:41:29 +0100 |
commit | 08b517c31ac92357d6b08476b61dbd4f50b5e0b8 (patch) | |
tree | e5c63527a24aa7a8a3ba227ac8ef143155b68782 /machines/profpatsch/haku.nix | |
parent | f915772f4fad43464ec0294783275100b550d0d0 (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/profpatsch/haku.nix')
-rw-r--r-- | machines/profpatsch/haku.nix | 2 |
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" ]; |