After you configure Nginx can not only access the ip domain names

Yesterday after the discovery server installed Nginx ip normal access by domain name but can not access
much deliberation port did not think it should be open to question Nginx default port 80 open before listening last night installed Nginx is a problem and then reinstall the machine port not any
systemctl status firewalldview firewall status
Here Insert Picture Description
strange firewall is obviously related to the problem should not be that way

Then think of more than one hour have tried numerous methods finally remembered
I had been using since before the https access Tomcat server is configured with ssl can be accessed using https been visited
and then reinstall the machine just installed a Nginx and Nginx configuration ssl therefore not access failure

Access just fine with http

Han Han a temporary record about it ...


Published 174 original articles · won praise 5 · Views 240,000 +

Guess you like

Origin blog.csdn.net/Piconjo/article/details/104986011