From 3919212196482efe79ae2d3d96f9d7e2106a7a42 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 10 May 2022 16:54:19 -0500 Subject: [PATCH] Mastodon nginx: fix streaming API location --- installation/mastodon.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/mastodon.conf b/installation/mastodon.conf index 2316e60216..daa45b42cb 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;