When i write command "service nginx restart", web server is still down?

Posted June 30, 2018 1.6k views

The web server is not returning a connection. As a result, the web page is not displaying.

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


You can check the nginx configuration file for any syntax errors by using this command:

nginx -t

Let me know if this returns any errors or if it says Syntax is OK