I have a raspberry pi with Dietpi and I installed PiHole a long time ago. It doesn’t have much configured, I use it mostly for local dns solving. I didn’t pay much attention when I installed it because it seems that I have it installed with Lighttpd. The thing is that I know more about Nginx than Lighttpd so I’d like to switch from that to Nginx.
Is there an easy way to do this?
If it helps, the rasperry doesn’t have much else installed… just the following:
Docker, Git, Sycthing, Fail2Ban, PiVpn and PiHole
I’m so sorry you responded so quickly and for some reason I didn’t see and haven’t had free time until now. I have most of the arr’s installed. Pi-hole as well as some other unix based software and audiobookshelf.
I wasn’t able to find something of that nature, I’ll check again, however if you happen to have a link to it and/or the docs, that would also be beneficial.
However I think having a detailed example of how to deal with this situation for the newer adopters like me would be beneficial. Once we become moderately comfortable with dietpi and want to use it a little deeper lighthttpd is a hard work around.
In the software catalogue we have frp and HAproxy.
While HAproxy is primarily a load balancer, it can also be set up as a reverse proxy.
frp is “just” a reverse proxy. Their documentation is nice, with practical examples.
Yup NPM would be easiest option indeed. It offer a user friendly gui and should be quite simple to use for beginners. However it requires Docker and to adjust some configuration on the existing http web server
Ahh, I was looking to keep docker out of it. I noticed in my original install of all the same apps in the dockerized version, the pi was so overloaded it was maxed out when all apps were just idling. And in truth I had less running than I do now and the pi hovers between 0.1 and 0.3 in usage, on 4 cores as I understand it, that is 2.5 to 7.5 % system usage. The docker versions to put a number on it ran from 2.5 - 6.0 at idle (constant thrashing).
It’s basically swapping everything all the time. The beauty of dietpi for me is moving away from docker.
PiHole consists of 2 components. One is the DNS server, which is responsible for ad blocking, and the other is the web interface for configuration. Theoretically, PiHole also works completely without a web interface via the command line. The following steps should be enough to switch to Nginx. [Solved]Replace lighttpd for nginx - #2 by MichaIng The interference with ad blocking should be minimal.