Nginx permalinks and search fixed!

So I realized the other day I couldn’t have nice permalinks for some reason so I set out to try to figure out why and/or fix it as it had all worked fine before I migrated from Apache to Nginx a month or so ago. ¬†Unfortunately it seems like there were plenty of sites talking about a fix of changing the location block around a bit, however I quickly realized that while the suggested fixes would indeed let me change to non-default permalink styles it invariably broke the ability to search the website which kind of inhibits me using it for storing thoughts and fixed and things and being able to recall them with a quick search. ¬†Finally I stumbled across the golden bullet for this problem and I will provide it so that hopefully nobody else spends an hour and a half of their Sunday messing with this when there are QSOs to be made!

Original location block

and now the updated one

 

And with a quick restart of nginx (that took a few tries because I’m too used to systemctl over service already) and ta-da I can search again and have the fancy pants permalinks that mean search engines can better index my ramblings. ¬†Oddly enough as I was testing this I saw a spider doing its thing while I was looking at the access logs for the server, pretty interesting that a spider would be active on a sunday at like 1145 EST.

Bitnami