Diagnostic step 1
Reproduce the failure locally with curl --http2 -v and capture request/response headers to confirm where 413 originates.
Generated Oct 26, 2026, 9:23:15 AM
Reproduce the failure locally with curl --http2 -v and capture request/response headers to confirm where 413 originates.
Temporarily set proxy_http_version 1.1 and add proxy_set_header Connection "" for the proxy_pass to allow transparent chunked forwarding; verify uploads succeed.
Try turning proxy_request_buffering off on the location handling uploads (proxy_request_buffering off) and test again.
If workaround works, plan an upgrade of NGINX to latest stable, or open a bug with NGINX including tcpdumps and config; keep a rollback plan to previous config.
If you must avoid persistent config changes, disable HTTP/2 on the TLS listener as a diagnostic step (not ideal long-term).