diff --git a/installation/mastodon.conf b/installation/mastodon.conf index 2316e6021..daa45b42c 100644 --- a/installation/mastodon.conf +++ b/installation/mastodon.conf @@ -140,7 +140,7 @@ server { } # Mastodon's Node.js streaming server. - location /api/v1/streaming { + location ^~ /api/v1/streaming { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;