sforkowany z mirror/soapbox
Merge branch 'nginx-improvements' into 'develop'
Mastodon nginx: route /unsubscribe (and /media) to Mastodon See merge request soapbox-pub/soapbox-fe!1366set-dependency-scanning-config-1
commit
c7a2f5bc54
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue