explicit upstream for nginx to not try ipv6

This commit is contained in:
Cyryl Płotnicki 2022-11-26 21:12:22 +00:00
parent cdbfef6e48
commit fcdf1b0fb2
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
enableACME = true;
serverAliases = [ "notes-sandbox.purrfect.estate" ];
locations."/" = {
proxyPass = "http://localhost:9005";
proxyPass = "http://127.0.0.1:9005";
proxyWebsockets = true;
};
};

View file

@ -10,7 +10,7 @@ in {
"${domain}" = {
forceSSL = true;
enableACME = true;
locations."/" = { proxyPass = "http://localhost:" + toString port; };
locations."/" = { proxyPass = "http://127.0.0.1:" + toString port; };
};
};
};