Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNikolaos Perrakis <nikperrakis@gmail.com>2019-09-11 04:04:04 +0300
committernachoparker <nacho@ownyourbits.com>2019-09-13 22:52:14 +0300
commit9ee9947250ff85e5b833fc6b13125cb7a44d5aa3 (patch)
treeaf9d828aeeb3cb01d929f2aa319087bc588b1da3 /bin
parentdbf129fb7fe11a02969f2b7658460af0b1d82a51 (diff)
Increased modsecurity bodynofileslimit so larger files can be synced (#993)v1.16.7
Signed-off-by: Nikolaos Perrakis <nikperrakis@gmail.com> Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/ncp/SECURITY/modsecurity.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ncp/SECURITY/modsecurity.sh b/bin/ncp/SECURITY/modsecurity.sh
index 067404cd..94d8c5e8 100644
--- a/bin/ncp/SECURITY/modsecurity.sh
+++ b/bin/ncp/SECURITY/modsecurity.sh
@@ -70,8 +70,8 @@ configure()
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 ( https://github.com/nextcloud/nextcloudpi/issues/959#issuecomment-529150562 )
+ SecRequestBodyNoFilesLimit 536870912
# GENERAL
SecRuleRemoveById 920350 # Host header is a numeric IP address