mirror of
https://github.com/caddyserver/website.git
synced 2025-05-07 04:07:13 -04:00
461 B
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
}