Assumptions:
- WordPress is installed at the root of
$host
- WordPress Webfinger is installed - available at Wordpress.org or Github
location ~ /.well-known/webfinger {
# add_header 'Access-Control-Allow-Origin' '*';
if ($arg_resource = "") {
return 400;
}