Back when I still ran a Mastodon server, I had a brief need to run two of them on one server. With Gargron’s help, I worked out how.
I’ve been running my webserver on Windows for a long time, and moving to Linux meant that a whole lot of files were coming up 404 because they had upper or lower case filenames and the page that referenced them didn’t match. This 404 script for nginx fixes that.
Mostly for my own benefit, a log of shit I have to deal with in nginx, and the solutions to same.