Skip to main content

Client Control Configuration

The client-control plugin limits request body size on routes and services in APISIX and API7 Enterprise and rejects oversized requests before proxying them upstream. Configuration covers plugin parameters.

Parameters​

See plugin common configurations for configuration options available to all plugins.

  • max_body_size

    integer

    vaild vaule:

    greater than or equal to 0


    Maximum request body size in bytes. A request over the limit is rejected with 413.

    Set to 0 to remove the body-size limit imposed by this plugin. Other gateway, protocol, or upstream limits can still apply.