HEY! I just found the fix for the webfinger "403 forbidden” problem I have been having to get my wordpress blog working fully with ActivityPub @pfefferleMatthias Pfefferle!
Looks like for nginx based servers if you are rolling your own or you have a strict web host you need to create a location statement in your nginx config options
The code to add to your options is:
location ^~ /.well-known/webfinger {
auth_basic off;
allow all;
default_type text/plain;
try_files $uri $uri/ /index.php?$args;
break;
}
From this wordpress support question:
https://wordpress.org/support/topic/i-think-i-tried-everything-403-on-well-known/
After adding this, the test at https://webfinger.net/lookup outputs a proper response and Wordpress clears the 'webfinger' error in SiteHealth.
Yay!
#ActivityPub #Wordpress #Mastodon #Fediverse #nginx #selfhost