Diagnostic step 1
Set client_max_body_size to the expected max (e.g., 200m) in the server/location block and reload NGINX.
Generated Oct 25, 2026, 9:44:56 AM
Set client_max_body_size to the expected max (e.g., 200m) in the server/location block and reload NGINX.
Disable request buffering for the proxied location: 'proxy_request_buffering off;' then reload NGINX.
Ensure proxy_http_version is 1.1 and that 'proxy_set_header Connection "";' is present so NGINX uses chunked transfer to upstream correctly.
Test using curl with --http2 to reproduce and run nginx -T to verify effective config. Verify success by observing request body arrival in Node logs and a 200 response.
If issue persists, enable debug logging for http2 and proxy modules to capture frame-level behavior and consider upgrading NGINX to latest stable or using a small nginx build compiled with latest http2 patches as a temporary test. Roll back config changes if they break other endpoints.