mastodon: adjust proxyPass
This commit is contained in:
parent
0fd89cd69c
commit
02a58aeac0
1 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ in
|
||||||
streamingPort = 55000;
|
streamingPort = 55000;
|
||||||
webPort = 55001;
|
webPort = 55001;
|
||||||
sidekiqPort = 55002;
|
sidekiqPort = 55002;
|
||||||
enableUnixSocket = true;
|
enableUnixSocket = false;
|
||||||
|
|
||||||
trustedProxy = "127.0.0.1";
|
trustedProxy = "127.0.0.1";
|
||||||
|
|
||||||
|
@ -78,12 +78,12 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
locations."@proxy" = {
|
locations."@proxy" = {
|
||||||
proxyPass = "http://unix:/run/mastodon-web/web.socket";
|
proxyPass = "http://127.0.0.1:55001";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
locations."/api/v1/streaming/" = {
|
locations."/api/v1/streaming/" = {
|
||||||
proxyPass = "http://unix:/run/mastodon-streaming/streaming.socket";
|
proxyPass = "http://127.0.0.1:55000";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue