Fix PIHOLE_SERVERIP Variable and Add pi-hole as default Reverse Proxy Host (#278)
* Fix PIHOLE_SERVERIP="192.168.1.2"
Should be PIHOLE_SERVERIP="192.168.1.2" not PIHOLE_IPSERVER="192.168.1.2"
* Update pihole.md
* Update pihole.md
Make pi-hole the eafult host for the Reverse Proxy Server
3. If your server has a firewall, make sure it allow incoming traffic to port `53 (UDP)`.
4. Configure your home router DHCP server to use `192.168.1.2`
From now everytime a device will connect to your local network, they will automatically use pi-hole as a DNS server. Advertisements will go to a black hole for all devices.
## Using the dashboard
Pi-Hole comes with a very nice admin dashboard to monitor its activity.
It is disabled by default. To enable it, you need to configure `PIHOLE_IPSERVER` to the IP of your server:
It is disabled by default. To enable it, you need to configure `PIHOLE_SERVERIP` to the IP of your server:
```bash
PIHOLE_IPSERVER="192.168.1.2"
PIHOLE_SERVERIP="192.168.1.2"
. btcpay-setup.sh -i
```
@ -51,6 +52,15 @@ Then running again
docker logs pihole | grep random
```
## Make pi-hole the eafult host for the Reverse Proxy Server
As per here: https://github.com/pi-hole/docker-pi-hole#tips-and-tricks adding this will make the experience even more user firendly, blocking more ads. This will mean, when you visit port 80 with just your IP (eg. 192.168.1.2 etc) for pi-hole, pihole will show as the deafult page.