fix(well-known): apex webfinger/nodeinfo → dynamic redirect to social.dedinit.ru (GtS split-domain, fix long address in Tusky/Mastodon)

This commit is contained in:
2026-09-07 05:46:21 +00:00
parent b049cb2afe
commit 827d40609e
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# GoToSocial split-domain: apex (dedinit.ru) → динамический webfinger на хост-инстанс.
# Без этого клиенты (Tusky/Mastodon) резолвят @user@dedinit.ru через статический
# ответ и показывают длинный адрес @user@social.dedinit.ru.
# mod_alias RedirectMatch сохраняет query (?resource=...) и отдаёт 301.
RedirectMatch 301 ^/\.well-known/webfinger(.*)$ https://social.dedinit.ru/.well-known/webfinger$1