1
0
Fork 0

mastodon: adjustments for smaller install

This commit is contained in:
Daniel Kempkens 2022-11-30 00:13:09 +01:00
parent 9e6f1de52a
commit 178ae6f82e
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -22,7 +22,9 @@ in
streamingPort = 55000; streamingPort = 55000;
webPort = 55001; webPort = 55001;
sidekiqPort = 55002; sidekiqPort = 55002;
enableUnixSocket = false; enableUnixSocket = true;
sidekiqThreads = 12;
trustedProxy = "127.0.0.1"; trustedProxy = "127.0.0.1";
@ -85,13 +87,13 @@ in
}; };
locations."@proxy" = { locations."@proxy" = {
proxyPass = "http://127.0.0.1:55001"; proxyPass = "http://unix:/run/mastodon-web/web.socket";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = nginx-extra-proxy-settings; extraConfig = nginx-extra-proxy-settings;
}; };
locations."/api/v1/streaming/" = { locations."/api/v1/streaming/" = {
proxyPass = "http://127.0.0.1:55000"; proxyPass = "http://unix:/run/mastodon-streaming/streaming.socket";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = nginx-extra-proxy-settings; extraConfig = nginx-extra-proxy-settings;
}; };