Mastodon nginx: tweak backend locations
This commit is contained in:
parent
5f38e10981
commit
1d3a928293
|
@ -67,7 +67,7 @@ server {
|
||||||
|
|
||||||
# Mastodon backend routes.
|
# Mastodon backend routes.
|
||||||
# These are routes to Mastodon's API and important rendered pages.
|
# 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;
|
try_files /dev/null @proxy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue