explicit upstream for nginx to not try ipv6
This commit is contained in:
parent
cdbfef6e48
commit
fcdf1b0fb2
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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; };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue