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)
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)