Pi-hole and nginx

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
ProXy
Posts: 14
Joined: Tue Oct 29, 2019 11:32 pm

Pi-hole and nginx

Post by ProXy »

Hello,

atm I am running pi-hole which installs Lighttpd. Now dietpi won‘t let me install nginx using the interface. I am wondering if I should install pi-hole using the interface like I did and install nginx manually or would you install nginx using the interface and install pi-hole manually?

I would like to run pi-hole on nginx, so I would like go get rid of Lighttpd. Installing a new version of pi-hole would be a problem in both cases as Lighttpd is installed with pi-hole. Is anyone running pi-hole and nginx using dietpi?

Thank you!
User avatar
Joulinar
Posts: 5087
Joined: Sat Nov 16, 2019 12:49 am

Re: Pi-hole and nginx

Post by Joulinar »

hi,

you could remove PiHole and Lighttpd using dietpi-software uninstall dialog. Once finished change web server preference in dietpi-software to Nginx and try to install PiHole again
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
fractaluser
Posts: 3
Joined: Sat Dec 26, 2020 8:22 pm

Re: Pi-hole and nginx

Post by fractaluser »

Hey so I just changed form Lighttpd to Ngnix and didn't have to reinstall Pi-Hole or RPI-Monitor, just thought I'd add it here since ppl may get discouraged from doing this. My end goal is to setup the reverse proxy to make it secure to the outside. Cheers!
User avatar
Joulinar
Posts: 5087
Joined: Sat Nov 16, 2019 12:49 am

Re: Pi-hole and nginx

Post by Joulinar »

Hi,

short question. Did you changed web server preference only or did it really removed Lighttpd and installed Ngnix?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
fractaluser
Posts: 3
Joined: Sat Dec 26, 2020 8:22 pm

Re: Pi-hole and nginx

Post by fractaluser »

Hey! So I had to uninstall it as switching between the two didn't really work for me. I just did the same now, but vice versa. Uninstalled ngnix and, went to install Lighttpd, switched it to be the main server and it works. I'm back on using pi-hole again.
User avatar
Joulinar
Posts: 5087
Joined: Sat Nov 16, 2019 12:49 am

Re: Pi-hole and nginx

Post by Joulinar »

yes a clean removal and a clean install is best way
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply