From eaa387204433999c2600a592d3e822d3ef8f2899 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 5 Sep 2025 15:14:56 -0400 Subject: Don't use localhost in nginx config This avoids nginx's DNS caching, which might be causing 10 minutes of 502 errors on deploy. --- Biz/PodcastItLater/Web.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Biz/PodcastItLater/Web.nix b/Biz/PodcastItLater/Web.nix index 8de5ef8..e66043d 100644 --- a/Biz/PodcastItLater/Web.nix +++ b/Biz/PodcastItLater/Web.nix @@ -78,7 +78,7 @@ in { forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://localhost:${toString cfg.port}"; + proxyPass = "http://127.0.0.1:${toString cfg.port}"; proxyWebsockets = true; }; }; -- cgit v1.2.3