1
0
Fork 0

mastodon: adjust proxyPass

This commit is contained in:
Daniel Kempkens 2022-11-29 16:03:39 +01:00
parent 0fd89cd69c
commit 02a58aeac0
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -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;
};
};