时间:2021-07-01 10:21:17 帮助过:35人阅读
这种情况主要在下面两种情况下发生:
location / {
...
proxy_connect_timeout 70;
proxy_read_timeout 150;
proxy_send_timeout 150;
...
}
location ~* .php$ {
include fastcgi_params;
fastcgi_index index.php;
fastcgi_read_timeout 150;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME$document_root$fastcgi_script_name;
}
2. open() “/usr/local/nginx/html/favicon.ico” failed (2: No such file or directory)
只需要关闭 favicon.ico 的 log:
location = /favicon.ico {
log_not_found off;
access_log off;
}
ref:
http://www.ttlsa.com/nginx/nginx-upstream-timed-out-110-connection-timed-out/
http://stackoverflow.com/questions/9657065/nginx-and-favicon-ico-get-favicon-ico-http-1-1-failed
以上就介绍了Nginx 错误汇总,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。