From 4907b26b60101faedf8508d77c3f9342dee174ba Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 7 Dec 2018 17:54:12 +0100 Subject: [PATCH] allow larger file uploads to support chunking --- static/modsecurity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/modsecurity.sh b/static/modsecurity.sh index d094d4f4..9028775e 100644 --- a/static/modsecurity.sh +++ b/static/modsecurity.sh @@ -70,8 +70,8 @@ cat << MODSECWHITE > "/etc/modsecurity/whitelist.conf" SecRuleRemoveById 981401 # Content-Type Response Header is Missing and X-Content-Type-Options is either missing or not set to 'nosniff' SecRuleRemoveById 200002 # Failed to parse request body - # UPLOADS ( 5 MB max excluding file size ) - SecRequestBodyNoFilesLimit 5242880 + # UPLOADS ( 20 MB max excluding file size ) + SecRequestBodyNoFilesLimit 20971520 # GENERAL SecRuleRemoveById 960017 # Host header is a numeric IP address