summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2023-03-09 18:55:45 +0100
committerLibravatar GitHub <noreply@github.com>2023-03-09 17:55:45 +0000
commita312238e7909c6451e608a91c326ad250dda875c (patch)
tree1395a27178a7ffd78486e3ddb00cd29dfce27cd8 /docs/configuration
parent[bug] Handle 410 on webfinger properly (#1601) (diff)
downloadgotosocial-a312238e7909c6451e608a91c326ad250dda875c.tar.xz
[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
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/general.md3
1 files changed, 3 insertions, 0 deletions
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!