nginx -t :测试配置文件是否有语法错误
看看报什么错误,我的是忘记给权限了
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
nginx -t :测试配置文件是否有语法错误
看看报什么错误,我的是忘记给权限了
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)