From a54fc50710907e7a1accc3605f0f4abdd210aaeb Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 17 Jan 2024 23:20:59 -0800 Subject: [PATCH] Use ipv4 localhost explicitly --- mastodon-container.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon-container.nix b/mastodon-container.nix index 81d8698..3edd8ac 100644 --- a/mastodon-container.nix +++ b/mastodon-container.nix @@ -142,7 +142,7 @@ in { enableACME = true; forceSSL = true; locations."/" = { - proxyPass = "http://localhost:${toString cfg.port}/"; + proxyPass = "http://127.0.0.1::${toString cfg.port}/"; proxyWebsockets = true; recommendedProxySettings = true; };