My web is not work today ,Please help me

December 11, 2014 3.9k views

This is my Web
I don’t know how to repair it
please help me

  • Assuming this is a wesbite? Have you updated any code latley? Is the apache up to date?

  • no ,yestertoday my website is work.
    today,it is said 500 error
    I use services nginx restart sometime

  • yes i update ’.htaccess’ in nginx

  • .htaccess has no meaning to nginx. It’s an apache thing. You’ll need to provide the output of your nginx error log anyone to be able to diagnose your problem. Since your server isn’t currently accessible on port 80, it points to an issue with your nginx config, rather than a bug in your website code. The output of nginx -t should give you a place to start your investigation.

  • I’m with Alexander on this one. Things don’t magically break the next day unless you did something to the server. For any of us to better help you, some outputs would be useful. What does your Nginx log say? Here’s a sack overflow post on finding your log:

  • Show 1 more comments
1 Answer

Backup your .htaccess or move it to outside website folder for example /home/user and reboot your server.

sudo reboot

If not works then you need to check nginx configuration.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!