idin
By:
idin

[FAIL] Restarting nginx: nginx failed!

November 8, 2014 3.2k views

[FAIL] Restarting nginx: nginx failed!

i have problem install nginx like it
what can i do
how to re install nginx
thanks

2 Answers

Hi,

Check your ningx config by running sudo nginx -t

You should see what is causing the failure and be able to correct it.

Best of luck,

Turge

  • Sweet pumpkin, this worked for me! Thanks buddy

  • I used that command and came up with nothing. any other ideas?

    sudo nginx -t
    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    nginx: configuration file /etc/nginx/nginx.conf test is successful

Have another answer? Share your knowledge.