Centos7-Nginx无法登入配置正确,考虑是80端口未开放
查看iptables状态
systemctl status iptables
开放443端口(HTTPS)
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
保存上述规则
service iptables save
开启服务
systemctl restart iptables.service
Centos7-Nginx无法登入配置正确,考虑是80端口未开放
systemctl status iptables
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
service iptables save
systemctl restart iptables.service