nginx with Pi-Hole v6
After having issues with my Raspberry Pi 4, 4GB Pi-Hole last week, I just picked up a 5 to replace it, assuming it was the hardware. Overall the cutover was straight-forwarded, I had done some prep work with packages, configs, etc before cutting anything over, then last night I actually took the jump.
Again, for the most part, it was all smooth. Thie biggest headache i ran into was getting the Pi-Hole web interface working with nginx… I have 2 Pi-Hole’s, so i was able to use the nginx from my secondary as a reference, & tried using that for the primary. Just a few hours of “403 Forbidden” errors when trying to browser to the domain.tld/admin. For the hell of it, just trying to keep the …/sites-enabled/ directory clean i deleted the default nginx config… that fixed my issue 😑. So if anyone else (or i) run into this issue again… just make sure the default nginx config file is no longer in place. Magic!