Pihole is running fine and now I wanted to set up nginx but I have problems with my nginx configuration.
I get to the authentication and after that I get 404. My guess is that I set up the path wrong but I don't see where..
I have a site running under /. Here is what my www directory looks like:
www/
-------cgi-bin
-------html
-------public (a static page for other purposes)
And here is my nginx config.
Another question: I don't feel comfortable exposing pihole to the 'outside'. Can I deny all external request and only allow the local network to access pihole? A authentication wouldn't be needed then.
The admin web GUI is served by lighttpd, which listens on port 80. Nginx cannot be running on port 80 as well.
If you have not opened port 53 or set up a DMZ on your router, then Pi-Hole will not be exposed to "outside." Nothing in the Pi-Hole install process opens up any ports to the internet.
If you have opened up port 53 or set up a DMZ for the Pi-Hole, you should close those immediately.
There is a password on the Admin GUI page - is this what you are referring to? If you haven't opened up any ports to "outside", the Pi-Hole is only accessible from inside your network.