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; + } }