1-Click Drupal Image error

November 9, 2014 1.2k views


I have a trouble with your 1 click Drupal installation.
My site doesnt work in maintenance mode.
It just say to me:

*"An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, nginx."*

Please help me to fix it.

Thank you
Best redards

1 Answer

When you put a Drupal site into maintenance mode, it actually is serving a custom error page. By default, Nginx is handling the error pages. If you want Drupal to do so, edit the file /etc/nginx/sites-enabled/drupal and comment out the following:

#  error_page 404 /404.html;
#  error_page 500 502 503 504 /50x.html;
#  location = /50x.html {
#      root /usr/share/nginx/html;
#  }

Finally, restart Nginx with sudo service nginx restart

Have another answer? Share your knowledge.