From aa48faf11a1e7f48bb392dcb6d9955bf4b5a03c4 Mon Sep 17 00:00:00 2001 From: Olivier Navas Date: Fri, 10 Jun 2022 10:11:22 +0200 Subject: [PATCH] =?UTF-8?q?Corrections=20sur=20configuration=20par=20d?= =?UTF-8?q?=C3=A9faut=20du=20traitement=20des=20requ=C3=AAtes=20par=20mods?= =?UTF-8?q?ecurity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/custom_reverse_proxy.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/custom_reverse_proxy.conf b/templates/custom_reverse_proxy.conf index 543b72c..a820403 100644 --- a/templates/custom_reverse_proxy.conf +++ b/templates/custom_reverse_proxy.conf @@ -32,7 +32,12 @@ Header set X-XSS-Protection 1;mode=block Header set X-Content-Type-Options nosniff Header set Strict-Transport-Security "max-age=16070400" - +# Configuration Modsecurity par défaut pour l'analyse des requêtes +SecResponseBodyAccess Off +SecRequestBodyLimit 10485760 +SecRequestBodyNoFilesLimit 131072 +SecRequestBodyInMemoryLimit 131072 +SecRequestBodyLimitAction ProcessPartial # Macros