Nginx 보고 upstream timed out 10060

1006 단어
시스템 이 비교적 긴 인터페이스 ngxin 을 실행 하기 때문에 아래 의 오 류 를 던 집 니 다.
  upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while reading response header from upstream

해결 방법: 1, fastcgi 수정read_timeout 의 매개 변수 값, 시스템 기본 60 초;2,fastcgi_read_timeout 지정 nginx 백 엔 드 fastcgi 응답 요청 시간 초과 (악 수 를 두 번 마 친 후 nginx 가 fastcgi 응답 요청 시간 초과)
        location ~ \.php(.*)$ {
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_split_path_info  ^((?U).+\.php)(/?.+)$;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            fastcgi_param  PATH_INFO  $fastcgi_path_info;
            fastcgi_param  PATH_TRANSLATED  $document_root$fastcgi_path_info;
            fastcgi_read_timeout 600;
            include        fastcgi_params;
        }

좋은 웹페이지 즐겨찾기