Protect against denial-of-service (DOS) attacks by limiting file upload size - One method to help protect your server against DOS attacks involves limiting the maximum allowable size for file uploads. Here, we are limiting file upload size to 10240000 bytes, which is equivalent to around 10 megabytes. For this rule, file sizes are expressed in bytes.
# protect against DOS attacks by limiting file upload size LimitRequestBody 10240000