From b049cb2afeea3ecc1396ffcd7b7456f1d401a595 Mon Sep 17 00:00:00 2001 From: Storozhenko Evgeny Date: Sun, 6 Sep 2026 19:42:31 +0000 Subject: [PATCH] =?UTF-8?q?fediverse:=20.well-known=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20split-domain=20(apex=20dedinit.ru=20->=20social.dedinit.ru)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/* --- static/.well-known/host-meta | 4 ++++ static/.well-known/nodeinfo/index.html | 1 + static/.well-known/webfinger/index.html | 1 + 3 files changed, 6 insertions(+) create mode 100644 static/.well-known/host-meta create mode 100644 static/.well-known/nodeinfo/index.html create mode 100644 static/.well-known/webfinger/index.html diff --git a/static/.well-known/host-meta b/static/.well-known/host-meta new file mode 100644 index 0000000..19ecf2d --- /dev/null +++ b/static/.well-known/host-meta @@ -0,0 +1,4 @@ + + + + diff --git a/static/.well-known/nodeinfo/index.html b/static/.well-known/nodeinfo/index.html new file mode 100644 index 0000000..2703006 --- /dev/null +++ b/static/.well-known/nodeinfo/index.html @@ -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"}]} diff --git a/static/.well-known/webfinger/index.html b/static/.well-known/webfinger/index.html new file mode 100644 index 0000000..baec8ef --- /dev/null +++ b/static/.well-known/webfinger/index.html @@ -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"}]}