Starting nginx nginx [fail]

nginx -t: test the configuration file for syntax errors

Look at what error was reported, mine forgot to give permission

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

 

Guess you like

Origin www.cnblogs.com/niuben/p/12727624.html