client closed prematurely connection while sending to client, in nginx

后端 未结 6 1996
名媛妹妹
名媛妹妹 2021-01-31 16:51

I have 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, s         


        
6条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-31 17:37

    I found that if you turn off the proxy buffer helps

    http {
       proxy_buffering off;
    ...
    }
    

    Probably the buffers are too small or less. After changing the buffer sizes it works nice

    proxy_buffering on;
    proxy_buffer_size 8k;
    proxy_buffers 2048 8k;
    

提交回复
热议问题