nginx启动失败 Starting nginx nginx [fail]

nginx -t :测试配置文件是否有语法错误

看看报什么错误,我的是忘记给权限了

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)

猜你喜欢

转载自www.cnblogs.com/niuben/p/12727624.html