From ac13eda19696a1a7875dfc307f76089f0750b386 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 12 May 2022 14:30:42 -0500 Subject: [PATCH] Mastodon nginx: route /unsubscribe (and /media) to Mastodon --- installation/mastodon.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/mastodon.conf b/installation/mastodon.conf index 361e4341c..880555003 100644 --- a/installation/mastodon.conf +++ b/installation/mastodon.conf @@ -82,7 +82,7 @@ server { # Mastodon backend routes. # These are routes to Mastodon's API and important rendered pages. - location ~ ^/(api|oauth|auth|admin|pghero|sidekiq|manifest.json|nodeinfo|.well-known/(webfinger|host-meta|nodeinfo|change-password)|@(.+)/embed$) { + location ~ ^/(api|oauth|auth|admin|pghero|sidekiq|manifest.json|media|nodeinfo|unsubscribe|.well-known/(webfinger|host-meta|nodeinfo|change-password)|@(.+)/embed$) { try_files /dev/null @mastodon; }