diff --git a/mastodon.conf b/mastodon.conf index f478d0f..22b3621 100644 --- a/mastodon.conf +++ b/mastodon.conf @@ -4,11 +4,11 @@ map $http_upgrade $connection_upgrade { } upstream backend { - server localhost:3000 fail_timeout=0; + server unix:/run/mastodon/mastodon-web.sock fail_timeout=0; } upstream streaming { - server localhost:4000 fail_timeout=0; + server unix:/run/mastodon/mastodon-streaming.sock fail_timeout=0; } proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=CACHE:10m inactive=7d max_size=1g;