ACTIVITY
Timeline
Timeline for the post: NGINX returns 413 Request Entity Too Large for chunked uploads only when client uses Transfer-Encoding: chunked
Currently licensed under: CC BY-SA 4.0
| When | What | By | License | Comment |
|---|---|---|---|---|
Oct 24, 2026, 9:21:01 AM 1mo ago | Answer | erikethernet | CC BY-SA 4.0 | NGINX treats chunked bodies differently and can hit buffering limits before Content-Length checks. First check client_body_temp_path permissions and inspect temp files for failing uploads. As a quick test, set proxy_request_buffering off on the upload location so the upstream gets the chunked stream directly; if uploads succeed, you know NGINX buffering is the issue. Then tune client_body_max_size and client_body_buffer_size or keep buffering off and harden upstream to handle backpressure. Verify by reproducing the chunked upload with curl and watching nginx logs; roll back buffering changes if upstream resource issues appear. |
Oct 24, 2026, 9:21:01 AM 1mo ago | Created | theocode | CC BY-SA 4.0 | NGINX returns 413 Request Entity Too Large for chunked uploads only when client uses Transfer-Encoding: chunked |