mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 09:29:02 +08:00
services.mastodon: fix
This commit is contained in:
parent
18ca4d7a00
commit
38c7491640
@ -15,7 +15,7 @@ inputs:
|
|||||||
services.mastodon =
|
services.mastodon =
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
streamingProcesses = 3;
|
streamingProcesses = 1;
|
||||||
enableUnixSocket = false;
|
enableUnixSocket = false;
|
||||||
localDomain = mastodon.hostname;
|
localDomain = mastodon.hostname;
|
||||||
database =
|
database =
|
||||||
@ -53,7 +53,7 @@ inputs:
|
|||||||
{ upstream = "http://127.0.0.1:${toString inputs.config.services.mastodon.webPort}"; websocket = true; };
|
{ upstream = "http://127.0.0.1:${toString inputs.config.services.mastodon.webPort}"; websocket = true; };
|
||||||
"/api/v1/streaming/".proxy =
|
"/api/v1/streaming/".proxy =
|
||||||
{
|
{
|
||||||
upstream = "http://127.0.0.1:${toString inputs.config.services.mastodon.streamingPort}";
|
upstream = "http://unix:/run/mastodon-streaming/streaming-1.socket";
|
||||||
websocket = true;
|
websocket = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user