A-hah!

So I’ve been trying to get the ActivityPub WordPress plugin working at alis.me for a while, to no avail. I’d kind of narrowed it down to it tripping over some kind of nginx config error, but couldn’t for the life of me figure out what, exactly.

Then, today, I actually (ahem) bothered to check the site error logs. And, er. The plugin issues listing on Github. Which… helpful, turns out.

So apparently the default WordPress nginx config file I’ve been using prohibits access to period-prefixed files. Unfortunately, ActivityPub’s Webfinger endpoint thingie is a /.well-known, so it was getting 403’d. Knowing that, plus actually bothering to read this issue, and I added the following just above the existing dot-prefix deny directive:

location ~ /\.well-known {
  allow all;
  try_files $uri $uri/ /index.php?$args;
}

And, well. Et violà!

Mastodon interface profile for @alis@alis.me. Screenshot.

Federated!

So, yeah. Now if you need yet another channel for me to spam you on, you can find it at @alis@alis.me on the Fediverse!