1-Click Drupal Image error


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 Victor

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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