Answer the question
In order to leave comments, you need to log in
How to fix NGINX client prematurely closed stream error?
Hello, when uploading files, I get an error:
*1517 client prematurely closed stream: only 288266169 out of 288266873 bytes of request body received, client: 1.1.1.1, server: example.org, request: "POST /bla/bla HTTP/2.0", host: "example.org", referrer: "https://example.org
" client_body_temp_path /tmp/;
client_body_in_file_only clean;
client_body_buffer_size 1m;
client_max_body_size 30000m;
client_header_timeout 10000s;
client_body_timeout 10000s;
keepalive_timeout 10000s;
proxy_ignore_client_abort on;
proxy_buffering off;
proxy_connect_timeout 6000s;
proxy_send_timeout 6000s;
proxy_read_timeout 6000s;
proxy_buffer_size 64k;
proxy_buffers 16 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question