gpanos
By:
gpanos

Nginx error 404 at maintainance page - mode Drupal 7

April 25, 2016 542 views
Nginx Drupal

Hello,
i am operating a digital ocean droplet with nginx 1.8.1 / drupal 7 site
when i updated from Nginx 1.4.6 i see maintenance page for my drupal site
not working .Returns 404 not found . So site is down.
At var/log/nginx i get this:

"/usr/share/nginx/html/50x.html" failed (2: No such file or directory), client: xx.xx.xxx.xx, server: www.example.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "www.example.com"

i tried also this https://groups.drupal.org/node/256708#comment-824983
but with no luck.

Can you help?

Thanks
George

1 Answer

Could you paste here your nginx.conf? It seems like 50x error occurred, so nginx is trying to show you html page with 50x error, but could find the html file. Alternatively, check out Wodby on the Projects page, they provide a simple way to deploy Drupal to your droplets (they also use nginx).

Have another answer? Share your knowledge.