📗
Janus Manual
  • Introduction
  • Installation
    • Docker
  • Quick Start
    • Authenticating
    • Add an endpoint
    • Modify (Update/Delete) an endpoint
    • Add Plugins
    • Authentication
    • Adding your API - File System
  • Clustering/HA
  • Proxy Reference
    • Terminology
    • Overview
    • Routing capabilities
    • Load Balacing
    • Request Host header
      • Using wildcard hostnames
      • The preserve_host property
    • Request URI
      • The strip_path property
      • The append_path property
    • Request HTTP method
    • Routing priorities
    • Conclusion
  • Plugins
    • Basic
    • Organization
    • Body Limit
    • Circuit Breaker
    • Compression
    • CORS
    • OAuth
    • Rate Limit
    • Request Transformer
    • Response Transformer
    • Retry
  • Auth
    • OAuth 2.0
  • Misc
    • Health Checks
    • Monitoring
    • Tracing
  • Known Issues
    • Stale HTTP Keep-Alive
  • Upgrade Notes
    • 2.x to 3.x
    • 3.6.x to 3.7.x
Powered by GitBook
On this page

Was this helpful?

  1. Plugins

Body Limit

Block incoming requests whose body is greater than a specific size in megabytes.

Configuration

The plain request transformer config:

"body_limit": {
    "enabled": true,
    "config": {
        "limit": "40M"
    }
}

Here is a simple definition of the available configurations.

Configuration

Description

name

Name of the plugin to use, in this case: body_limit

config.limit

Allowed request payload size. You can set the size in B for bytes,K for kilobytes, M for megabytes, G for gigabytes and T for terabytes

PreviousOrganizationNextCircuit Breaker

Last updated 4 years ago

Was this helpful?