Problem:
Solution:
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
Use the nginx -c parameter to specify the location of the nginx.conf file
View the logs file
Execute sbin/nginx -s reload again
Recommended tutorial: nginx tutorial
The above is the detailed content of What should I do if an error occurs when nginx executes the sbin/nginx -s reload command?. For more information, please follow other related articles on the PHP Chinese website!