For anyone having the same issue, I fixed it by changing from pihole1.lan to pihole1.internal.lan and then having *.internal.lan redirect to my NginX IP address (I did that through an Unbound override in OPNsense).by Baumharz - How to...
I am trying to put nginx in front of a few LAN sites (like pi-hole, munin etc.). My aim is to simply put something like "http://pihole1.lan" in a browser on any device on my LAN, and get to the corresponding page. The reason I want to use nginx in-between is to change some header options (like x-frame) and so that I can always use port 80, no matter what port the actual internal site isby Baumharz - How to...