Nginx, WordPress & ActivityPub

I have been deep in the terminal these past few weeks whenever I get a moment or two of free time. We have had a lot of rain recently, resulting in way more free time than usual. This allowed me to sort out a bunch of issues on my new $5/month linode.

I didn’t love Ghost too much so went back to WordPress. Since I’d already had Ghost working with Nginx, I figured I’d use it with wordpress as well instead of my usual Apache.

All went pretty well and smooth once I finally got php to work for me. Yowza. But then I noticed that search wasn’t working on my site. I went crazy for a while trying out different theme, digging into wordpress trying to understand the query loop. Nothing.

But, In troubleshooting I realized that no URL-passed arguments (e.g. ?s=searchterm) were being handled by php. This was new terrain for me! Once I realized this was the issue though, I knew it must have been related to Nginx. Sure enough adding:

try_files $uri $uri/ /index.php$is_args$args;

to my server config file, voila! That was pretty satisfying.

Once I had search working, I tried the newly-released ActivityPub plugin for WordPress. A bit of futzing and now my posts can be followed in the fediverse at: sjwillis@www.jimwillis.org from your Mastodon server. Super cool. I’d love to get posts@www.jimwillis.org working so that all posts could be followed but I can’t quite get that dialed in.

Anyway, rainy days and terminal windows seem to go hand in hand.

Also, really, really enjoying Terminus on my iPad.

Posted

in

Current Spins

Top Albums

Check out my album Set It All Down on your favorite streaming service.


Posts Worth Reading:


Letterboxd


Reading Notes

  • Who profits from our constant state of dissatisfaction? The answer, of course, is painfully obvious. Every industry that sells a solution to a problem you […]
  • the shifts have been in place for awhile. A certain kind of book—say those reviewed in the NYRB—will become like opera, or theater, or ballet, […]
  • • No more struggle: “Whatever arises, train again and again in seeing it for what it is. The innermost essence of mind is without bias. […]
  • The real problem, in my mind, isn’t in the nature of this particular Venture-Capital operation. Because the whole raison-d’etre of Venture Capital is to make […]
  • . The EU invokes a mechanism called the precautionary principle in cases where an innovation, such as GMOs, has not yet been sufficiently researched for […]

Saved Links