Update file mastodon.conf

environments/review-develop-3zknud/deployments/3724^2
Elaine Jackson 2023-08-18 17:52:25 +00:00
rodzic fd74551fad
commit ef263434d3
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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;
}