CentOS7+Nginx设置Systemctl restart nginx.service服务 转载:https://blog.csdn.net/qq_36441027/article/details/80636526 若还访问不了,查看是否因为服务器没添加80端口的安全组策略:https://blog.csdn.net/weixin_33755649/article/details/93711069