So, I've been playing around with Piwigo, nginx, and mariadb for a personal project. I even purchased a VPS to get this going and, after lots of trial, error, and reading up to resolve, I've got it working nicely.
However, I'm having some issues with uploading videos. By default, Piwigo doesn't allow video uploads, so you have to make it work through some hacks and by using a plug-in called VideoJS. Seems as though it can't find where the ffmpeg libraries are even though I've pointed the plug-in to the directory path.
I'll have to keep at it, but if anyone out there has had experience with this and has been successful, be sure to fill me in. 
Edit: For the record, this VPS is running Almalinux 9.5. I would have loved to do this on a BSD, but the hosting company I got the domain with only had Ubuntu and Alma as options. I like Alma, don't get me wrong, but a BSD would have been much nicer. 