1
General Discussion / Re: nginx listen ip
« on: October 01, 2019, 10:12:07 am »
I would like that too. My goal is, to implement something like Pi Hole but much simpler. A simple https://forum.fpvhub.ch/t/dns-blacklist-wie-pi-hole-fuer-unbound-dns-server-opn-sense/772 with a cron entry which rewrites ad- and malicious domains to a given IP. This IP is configured as virtual IP on the firewall, and the nginx could server a site like http://www.shadowandy.net/2014/04/adblocking-nginx-serving-1-pixel-gif-204-content.htm.
But to make the nginx config "catch all" I would need it to listen on the virtual IP.
But to make the nginx config "catch all" I would need it to listen on the virtual IP.