From 02a58aeac096d0e87be4f399e53be054b289c2ed Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Tue, 29 Nov 2022 16:03:39 +0100 Subject: [PATCH] mastodon: adjust proxyPass --- system/nixos/mastodon.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/nixos/mastodon.nix b/system/nixos/mastodon.nix index cf6c157..fcdefff 100644 --- a/system/nixos/mastodon.nix +++ b/system/nixos/mastodon.nix @@ -14,7 +14,7 @@ in streamingPort = 55000; webPort = 55001; sidekiqPort = 55002; - enableUnixSocket = true; + enableUnixSocket = false; trustedProxy = "127.0.0.1"; @@ -78,12 +78,12 @@ in }; locations."@proxy" = { - proxyPass = "http://unix:/run/mastodon-web/web.socket"; + proxyPass = "http://127.0.0.1:55001"; proxyWebsockets = true; }; locations."/api/v1/streaming/" = { - proxyPass = "http://unix:/run/mastodon-streaming/streaming.socket"; + proxyPass = "http://127.0.0.1:55000"; proxyWebsockets = true; }; };