diff options
| author | Ben Sima <ben@bsima.me> | 2025-09-05 15:14:56 -0400 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-09-05 15:14:56 -0400 |
| commit | eaa387204433999c2600a592d3e822d3ef8f2899 (patch) | |
| tree | fe1d1e6f095db2010b7ab64c012a61f3abc3d1fe /Biz/PodcastItLater/Web.nix | |
| parent | c7eedaa2ac2b550d1726b4b004ed27b4c29e7ea9 (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/PodcastItLater/Web.nix')
| -rw-r--r-- | Biz/PodcastItLater/Web.nix | 2 |
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; }; }; |
