File upload size limits

It’s just {"handler": "request_body" ...} in one of your HTTP routes, as described here: JSON Config Structure - Caddy Documentation

This plugin may help if you’re new to it! (I actually use it quite often.) Getting a better experience with JSON/YAML configuration