I installed Pi-Hole using the installer on Raspbian Buster, but used Nginx instead of Lighttpd. As in the FAQ I want to use/install other applications as well on the same Pi, so storing the admin and pihole directories of the web frontend into the default web-root is not very convenient. Therefore I moved them into an other location (/var/www/html/pihole/), but that will make the update process of pi-hole troublesome.
Currently webroot is hardcoded in /etc/.pihole/automated_install/basic-install.sh
Defining the webroot in setupVars.conf instead (and thus making it editable and flexible) would solve this update issue.
Using anything other than lighttpd
is not supported.
We're hoping to make some changes that will remove that hard dependency but for now you'll need to look through the community support for others that are running with apache and follow their instructions.
The request is independent of which HTTP server is being used. It is just useful when installing multiple software packages on a single system. Imho it is much tidier to separate them. Allowing for a configurable web-root for Pi-hole would facilitate this. It also would allow separation of files being part of pi-hole on those not (but installed as default files by the webserver). An other option would be to move the files all together to a separate location outside of the webserver scope, but that would potentially make a webserver trickier to configure.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.