Harry Tang
Verified User
Hi,
My server is run on LAN/NAT with nginx and I follow this guide: https://www.directadmin.com/lan.shtml
Then I can access http://hostname.server.com, but not https://hostname.server.com
I check nginx-vhosts.conf:
But for SSL, no LAP IP:
I add listen 192.168.123.123:443 ssl; then it works fine.
Is this a bug?
My server is run on LAN/NAT with nginx and I follow this guide: https://www.directadmin.com/lan.shtml
Then I can access http://hostname.server.com, but not https://hostname.server.com
I check nginx-vhosts.conf:
Code:
server {
listen 52.15.xxx.xxx:80; # <= this is server public IP
listen 192.168.123.123:80; # <= this is LAN IP
listen 127.0.0.1:80;
listen [::1]:80;
But for SSL, no LAP IP:
Code:
server {
listen 52.15.xxx.xxx:443 ssl; # <= this is server public IP
listen 127.0.0.1:443 ssl;
listen [::1]:443 ssl;
I add listen 192.168.123.123:443 ssl; then it works fine.
Is this a bug?