summaryrefslogtreecommitdiff
path: root/Biz
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-09-05 15:14:56 -0400
committerBen Sima <ben@bsima.me>2025-09-05 15:14:56 -0400
commiteaa387204433999c2600a592d3e822d3ef8f2899 (patch)
treefe1d1e6f095db2010b7ab64c012a61f3abc3d1fe /Biz
parentc7eedaa2ac2b550d1726b4b004ed27b4c29e7ea9 (diff)
Don't use localhost in nginx config
This avoids nginx's DNS caching, which might be causing 10 minutes of 502 errors on deploy.
Diffstat (limited to 'Biz')
-rw-r--r--Biz/PodcastItLater/Web.nix2
1 files changed, 1 insertions, 1 deletions
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;
};
};