From inside my lan I can get to the "IT Works" Page for ip 192.168.12.1 This is the IP for my Vlan interface named wifi.lan.
Half_life I copied your example (just changed some IP and names to match my system) ..... I created a service nginx on port 82. I added that port 82 to the firewall to both external and internal connections. I can see in the firewall logs that a connection came through. It does not say anything about it being dropped so I am assuming I am reaching the open port...
I left the original /etc/nginx/nginx.conf at default setting on my first attempt. I created a new file in /etc/nginx/sites-available/XXXX
I created a symlink between the sites available and sited enabled. Checked that the link existed.
put the following script into the file
server{
listen 82;
server_name xxxx.dyndns.org;
access_log /var/log/nginx/access_xxxx.log;
location /{
proxy_pass
http://192.168.12.1/; }
}
I just keep getting The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
I have tried putting the script directly into the nginx.conf file - did not work
I have tried adding the lines
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Did not work either.
I can't connect from either inside my LAN or from the WAN.
It is almost as if I am not reaching nginx at all.