diff --git a/installation/mastodon.conf b/installation/mastodon.conf index 472fb27c9..5a1146db1 100644 --- a/installation/mastodon.conf +++ b/installation/mastodon.conf @@ -83,13 +83,13 @@ server { # Mastodon backend routes. # These are routes to Mastodon's API and important rendered pages. - location ~ ^/(api|oauth|auth|admin|pghero|sidekiq|manifest.json|media|nodeinfo|unsubscribe|.well-known/(webfinger|host-meta|nodeinfo|change-password)|@(.+)/embed$) { + location ~ ^/(api|inbox|oauth|auth|admin|pghero|sidekiq|manifest.json|media|nodeinfo|unsubscribe|.well-known/(webfinger|host-meta|nodeinfo|change-password)|@(.+)/embed$) { try_files /dev/null @mastodon; } # Mastodon ActivityPub routes. # Conditionally send to Mastodon by Accept header. - location ~ ^/(inbox|users|@(.+)) { + location ~ ^/(users|@(.+)) { try_files /dev/null $activitypub_location; }