WhenWhatByLicenseComment
Oct 26, 2026, 9:23:15 AM
4w ago
AnswerviggovpnCC BY-SA 4.0Make 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 acceptedliamlogicAn answer was marked as the accepted solution.
Oct 26, 2026, 9:23:15 AM
4w ago
CreatedliamlogicCC BY-SA 4.0NGINX returns 413 for Transfer-Encoding: chunked uploads only when proxying to Node.js over HTTP/2 TLS offload