Nginx error 404 at maintainance page - mode Drupal 7

April 25, 2016 382 views
Nginx Drupal

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:, server:, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: ""

i tried also this
but with no luck.

Can you help?


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.