How to limit request body size?

Is there a configuration option, like proxy-body-size used in HAProxy K8s Ingress, to limit the size of the request body? I want to limit upload size at the Proxy level, just like it can be done with an Ingress, but I cannot find a direct configuration key for this in HAProxy 2.8.x. Thank you!