hostchirp
By:
hostchirp

nginx.service error

June 29, 2017 372 views
Nginx

when i run sudo nginx -t, it passes and everything is ok. However, when i run a sudo systemctl reload nginx, I fails and I get the nginx.service failure message.

1 Answer

Hi @hostchirp

Without the error message, it gets a little difficult to help you :-)
Also include the last 20 lines of the error log:

tail -20 /var/log/nginx/error.log
Have another answer? Share your knowledge.