I have a blog and a few days ago started to give the following error in some pages.
404 Not Found nginx/1.6.2 (Ubuntu)
The error log is returning:
2016/02/02 10:44:12 [error] 612#0: *553172 connect() to unix:/var/run/php5-fpm.sock failed
(11: Resource temporarily unavailable) while connecting to upstream, client: xxx.xxx.x.xxx, server:
www.blogdeti.com.br , request: "POST /xmlrpc.php HTTP/1.0",
upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xxx.xxx.xxx.xxx"
My virtual host settings:
server {
listen 80 default_server;
listen [::]:80 ipv6only=on default_server;
root /var/www/html;
index index.php index.html index.htm index.nginx-debian.html;
server_name www.blogdeti.com.br;
location / {
try_files $uri $uri/ /index.php?q=$uri&args;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/html;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
My hosting is digital ocean and I already tried to send a support ticket, but they could not help me.