I have an error in nginx error.log:
2010/12/05 17:11:49 [info] 7736#0: *1108 client closed prematurely connection while sending to client, client: 188.72.80.201, server:***.biz, request: "GET /forum/ HTTP/1.1", upstream:"http://***:3000/forum/", host: "***.biz"
I have 500 answers on the site each time. How can i fix this?
Thank.
Installation [proxy_ignore_client_abort on;][1]may help you.
[proxy_ignore_client_abort on;][1]
I solved this problem myself for many hours today and found a solution:Please note that this fix only affects you when using the load balancer
- . - ELB, 60 ( ), , , . ELB nginx, nginx , "" ( ELB) .
, ELB, : EC2 → → → , , .
, - - ..
, ,
http { proxy_buffering off; ... }
, .
proxy_buffering on; proxy_buffer_size 8k; proxy_buffers 2048 8k;
, . Webkit (Chrome). , , . HTTP- . nginx.
№1: , , .
№2: proxy_ignore_client_abort; .
error_log off;
, nginx - send_timeout. , .
http { send_timeout 20; ... }
fastcgi_ignore_client_abort on .
fastcgi_ignore_client_abort on
error_log warn debug. .
error_log
warn
debug