fediverse: .well-known для split-domain (apex dedinit.ru -> social.dedinit.ru)
GoToSocial: host=social.dedinit.ru, account-domain=dedinit.ru. На Jino (Apache) .htaccess/rewrite не работают, поэтому webfinger/nodeinfo/host-meta отдаются статикой: index.html в .well-known/webfinger/ и .well-known/nodeinfo/ (DirectoryIndex Apache отдаёт их на любой query), host-meta как XML. JRD/JSON ссылаются на https://social.dedinit.ru/*
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
|
||||||
|
<Link rel="lrdd" type="application/xrd+xml" template="https://social.dedinit.ru/.well-known/webfinger?resource={uri}"></Link>
|
||||||
|
</XRD>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"links":[{"rel":"http://nodeinfo.diaspora.software/ns/schema/2.0","href":"https://social.dedinit.ru/nodeinfo/2.0"},{"rel":"http://nodeinfo.diaspora.software/ns/schema/2.1","href":"https://social.dedinit.ru/nodeinfo/2.1"}]}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"subject":"acct:estorozhenko@dedinit.ru","aliases":["https://social.dedinit.ru/users/estorozhenko","https://social.dedinit.ru/@estorozhenko"],"links":[{"rel":"http://webfinger.net/rel/profile-page","type":"text/html","href":"https://social.dedinit.ru/@estorozhenko"},{"rel":"self","type":"application/activity+json","href":"https://social.dedinit.ru/users/estorozhenko"}]}
|
||||||
Reference in New Issue
Block a user