๐ŸŒ mirroring test!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: use webfinger.io instead of static file for webfinger

+3 -26
-23
.well-known/webfinger
··· 1 - { 2 - "subject": "acct:shuuji3@mastodon.social", 3 - "aliases": [ 4 - "https://mastodon.social/@shuuji3", 5 - "https://mastodon.social/users/shuuji3" 6 - ], 7 - "links": [ 8 - { 9 - "rel": "http://webfinger.net/rel/profile-page", 10 - "type": "text/html", 11 - "href": "https://mastodon.social/@shuuji3" 12 - }, 13 - { 14 - "rel": "self", 15 - "type": "application/activity+json", 16 - "href": "https://mastodon.social/users/shuuji3" 17 - }, 18 - { 19 - "rel": "http://ostatus.org/schema/1.0/subscribe", 20 - "template": "https://mastodon.social/authorize_interaction?uri={uri}" 21 - } 22 - ] 23 - }
+3 -3
Caddyfile
··· 1 1 :8080 { 2 2 file_server 3 3 4 - # webfinger requires content-type: application jrd+json 5 - @webfinger path */webfinger 6 - header @webfinger Content-Type application/jrd+json 4 + route /.well-known/webfinger* { 5 + redir https://webfinger.io{uri} 6 + } 7 7 8 8 # redirects: google-eng-practices 9 9 route /eng-practices/* {