From 5a6c106a9178f02b50aa91828b623b894cffe8a4 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Thu, 23 Jun 2022 14:01:35 +0200 Subject: [PATCH] feat: added well known for mastodon web/local domain integration Signed-off-by: Louis Vallat --- nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx.conf b/nginx.conf index 147dd10..2369b8c 100644 --- a/nginx.conf +++ b/nginx.conf @@ -21,4 +21,8 @@ server { expires 1y; add_header Cache-Control "public, no-transform"; } + + location /.well-known/webfinger { + return 301 https://mastodon.louis-vallat.xyz$request_uri; + } }