By Victor Orlov
Hello!
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
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.