
nginx -t //查看报错信息
代表启动用户为 nginx
vi /etc/nginx/nginx.conf //修改配置文件 user 改为 root
nginx -t //检查是否报错
systemctl restart nginx //强制重启
评价
排名
6
文章
6
粉丝
16
评论
8
{{item.articleTitle}}
{{item.blogName}} : {{item.content}}
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2025TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
公网安备:
50010702506256


欢迎加群交流技术