Configuration
Proxy request buffering limit
Experimental Proxy buffering limit: Next.js clones request bodies for reuse. The reviewed documentation describes a 10 MB default and partial buffering plus a warning when the limit is exceeded. This is not an upload rejection policy. Use independent bounded request validation and infrastructure limits; keep this option out of the default production lane. Source: https://nextjs.org/docs/app/api-reference/config/next-config-js/proxyClientMaxBodySize. Documentation-reviewed illustrative draft; installed declarations and runtime not verified.
Formal Syntax & Structure
nextjs syntaxnextjs
experimental.proxyClientMaxBodySizeWorking Example
Example Snippetnextjs
export default {experimental:{proxyClientMaxBodySize:'1mb'}}