Mastodon nginx: tweak backend locations

This commit is contained in:
Alex Gleason 2022-05-10 15:05:45 -05:00
parent 5f38e10981
commit 1d3a928293
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -67,7 +67,7 @@ server {
# Mastodon backend routes.
# These are routes to Mastodon's API and important rendered pages.
location ~ ^/(api|oauth|auth|admin|.well-known/webfinger) {
location ~ ^/(api|oauth|auth|admin|manifest.json|.well-known/webfinger|@(.+)/embed$) {
try_files /dev/null @proxy;
}