Make mastodon use http instead of unix socket

This commit is contained in:
batteredbunny 2024-11-13 01:18:34 +02:00
parent 872314e596
commit 00e715ce69
2 changed files with 2 additions and 1 deletions

View file

@ -80,7 +80,7 @@ in
root ${pkgs.mastodon}/public
pass_thru
}
reverse_proxy * unix//run/mastodon-web/web.socket
reverse_proxy :${toString config.services.mastodon.webPort}
}
handle_errors {

View file

@ -321,6 +321,7 @@
};
mastodon = {
enable = true;
enableUnixSocket = false;
mediaAutoRemove.enable = true;
localDomain = "fedi.catnip.ee";
streamingProcesses = 10;