/var/log/httpd/error_log
1, find the location of Nginx.conf:
Execute sudo nginx -t can get the path of the configuration file. At the same time if you modify the configuration file nginx.conf wrong, there will be a corresponding prompt execution of the command, such as "Invalid parameter"
2, Nginx logpath
/ Var / log / nginx