flora-6: pub.solar webfinger should redirect to
mastodon, if the query parameter matches resource See: https://docs.joinmastodon.org/spec/webfinger/ and: https://docs.joinmastodon.org/admin/config/#web_domain
This commit is contained in:
parent
af9b528cb9
commit
a5c5142156
|
@ -36,8 +36,12 @@
|
|||
redir https://mastodon.pub.solar{uri}
|
||||
}
|
||||
|
||||
# Tailscale OIDC requirement
|
||||
# Tailscale OIDC webfinger requirement plus Mastodon webfinger redirect
|
||||
handle /.well-known/webfinger {
|
||||
# Redirect requests that match /.well-known/webfinger?resource=* to Mastodon
|
||||
handle query resource=* {
|
||||
redir https://mastodon.pub.solar{uri}
|
||||
}
|
||||
respond 200 {
|
||||
body `{
|
||||
"subject": "acct:admins@pub.solar",
|
||||
|
|
Loading…
Reference in a new issue