nginx: [alert] could not open error log file: open()"/usr/local/nginx/logs/error.log" failed

./nginx启动nginx报错

nginx: [alert] could not open error log fileopen()"/usr/local/nginx/logs/error.log" failed (13:Permissiondenied)

权限不对:

sudo ./nginx启动就行


版权声明:本文为qq_29337223原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。