mastodon: adjustments for smaller install
This commit is contained in:
parent
9e6f1de52a
commit
178ae6f82e
1 changed files with 5 additions and 3 deletions
|
@ -22,7 +22,9 @@ in
|
|||
streamingPort = 55000;
|
||||
webPort = 55001;
|
||||
sidekiqPort = 55002;
|
||||
enableUnixSocket = false;
|
||||
enableUnixSocket = true;
|
||||
|
||||
sidekiqThreads = 12;
|
||||
|
||||
trustedProxy = "127.0.0.1";
|
||||
|
||||
|
@ -85,13 +87,13 @@ in
|
|||
};
|
||||
|
||||
locations."@proxy" = {
|
||||
proxyPass = "http://127.0.0.1:55001";
|
||||
proxyPass = "http://unix:/run/mastodon-web/web.socket";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = nginx-extra-proxy-settings;
|
||||
};
|
||||
|
||||
locations."/api/v1/streaming/" = {
|
||||
proxyPass = "http://127.0.0.1:55000";
|
||||
proxyPass = "http://unix:/run/mastodon-streaming/streaming.socket";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = nginx-extra-proxy-settings;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue