Question

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

Posted June 30, 2018 649 views
Nginx Ubuntu

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.

1 answer

Hello,

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

Alex

Submit an Answer