diff --git a/nginx/modsecurity.conf b/nginx/modsecurity.conf index 455b94d..087d62c 100644 --- a/nginx/modsecurity.conf +++ b/nginx/modsecurity.conf @@ -13,7 +13,8 @@ SecRuleEngine On # hole for attackers to exploit. # SecRequestBodyAccess On - +SecRequestBodyLimit 10737418240 +SecRequestBodyNoFilesLimit 1048576 # Enable XML request body parser. # Initiate XML Processor in case of xml content-type