(110: Connection timed out

Hey, This is my first post on this forum. I do not speak good English
but I
will try to write clearly.
I have problem with Nginx + php-fpm and fast cgi connection time out.

My error log

2016/01/01 22:58:58 [error] 2367#0: *13 upstream timed out (110:
timed out) while reading response header from upstream, client:, server: xxx.org.pl, request: “GET /favicon.ico HTTP/1.1”,
upstream: “fastcgi://”, host: “xxx.org.pl”, referrer:

and my nginx .conf

server {
listen 80;
server_name xxx.pvp.org.pl;
access_log /var/log/nginx/access-forum.log;
error_log /var/log/nginx/error-forum.log;
#server_tokens off;

   root /home/produkcja/forum;
   index index.html index.php;

   location ~ \.php$ {
           fastcgi_split_path_info ^(.+\.php)(/.+)$;
           # NOTE: You should have "cgi.fix_pathinfo = 0;" in 


           fastcgi_index index.php;
           include fastcgi_params;
           fastcgi_param SCRIPT_FILENAME


   location / {
           try_files $uri $uri/ /index.php?$args;

location ~* .php$ {
include fastcgi_params;
fastcgi_index index.php;
fastcgi_read_timeout 300;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME

Posted at Nginx Forum:

PS: I use nginx 1.8.0, debian 8, php-fpm, fcgiwrap, spawn-fcgi

Posted at Nginx Forum: