caddy-website/src/docs/markdown/caddyfile/directives/request_body.md
Nicola Piccinini eb8e764a57
Improve text
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2020-11-19 10:40:08 +01:00

461 B

title
request_body (Caddyfile directive)

request_body

Manipulates request body.

Syntax

request_body [<matcher>] {
  max_size <value>
}
  • max_size is the maximum size in bytes allowed for the request body. It accepts all formats supported by go-humanize.

Examples

Limit request body sizes to 10 megabytes:

request_body {
  max_size 10MB
}