Hello,
unfortunately I have the following situation at the moment.
The thing that works wonderfully is:
Behind my router GL-MT2500 I have a web server running. For this I have set up two port forwarders for port 80 and 443.
In addition, I have set up a ddns service (via luci) because I use duckdns.org.
The nice thing is that I can access the web server from outside, i.e. from the WAN interface. So with xxx.duckdns.org
But if I try to do this from internal, i.e. via LAN interface, I unfortunately end up on the GL.iNet admin panel. So the website that can be reached by default via 192.168.8.1, although I use the domain xxx.duckdns.org.
Why does the admin panel also respond to xxx.duckdns.org.
So how does the nginx server know from the GLi-Net admin panel that it should also listen to xxx.duckdns.org. Or how can I prevent this?
I can’t figure it out from the file /etc/nginx/conf.d/gl.conf.