From a312238e7909c6451e608a91c326ad250dda875c Mon Sep 17 00:00:00 2001 From: Daenney Date: Thu, 9 Mar 2023 18:55:45 +0100 Subject: [feature] Provide .well-known/host-meta endpoint (#1604) * [feature] Provide .well-known/host-meta endpoint This adds the host-meta endpoint as Mastodon clients use this to discover the API domain to use when the host and account domains aren't the same. * Address review comments --- docs/configuration/general.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/configuration') diff --git a/docs/configuration/general.md b/docs/configuration/general.md index a6f68982a..cf2bb5c30 100644 --- a/docs/configuration/general.md +++ b/docs/configuration/general.md @@ -43,6 +43,9 @@ host: "localhost" # to "gts.example.org/.well-known/webfinger" so that GtS can handle them properly. # # You should also redirect requests at "example.org/.well-known/nodeinfo" in the same way. +# +# You should also redirect requests at "example.org/.well-known/host-meta" in the same way. This endpoint is used by a number of clients to discover the API endpoint to use when the host and account domain are different. +# # An empty string (ie., not set) means that the same value as 'host' will be used. # # DO NOT change this after your server has already run once, or you will break things! -- cgit v1.2.3