ACTIVITY
Timeline
Timeline for the post: NGINX returns 413 for Transfer-Encoding: chunked uploads only when proxying to Node.js over HTTP/2 TLS offload
Currently licensed under: CC BY-SA 4.0
| When | What | By | License | Comment |
|---|---|---|---|---|
Oct 26, 2026, 9:23:15 AM 4w ago | Answer | viggovpn | CC BY-SA 4.0 | Make NGINX proxy the HTTP/2 client stream as HTTP/1.1 to the Node backend and disable request buffering for streaming uploads. In your location block add: proxy_http_version 1.1; chunked_transfer_encoding on; proxy_request_buffering off; ensure client_max_body_size is set in the same context. Test with curl --http2 --chunked-transfer and the same large file; you should see the upload reach Node without a 413. If anything breaks, revert the nginx config and reload; this change is reversible and safe to test in staging first. |
Oct 26, 2026, 9:23:15 AM 4w ago | Solution accepted | liamlogic | An answer was marked as the accepted solution. | |
Oct 26, 2026, 9:23:15 AM 4w ago | Created | liamlogic | CC BY-SA 4.0 | NGINX returns 413 for Transfer-Encoding: chunked uploads only when proxying to Node.js over HTTP/2 TLS offload |