diff --git a/nginx/modsecurity/global-exceptions.conf b/nginx/modsecurity/global-exceptions.conf index 6f37310..fff48e5 100644 --- a/nginx/modsecurity/global-exceptions.conf +++ b/nginx/modsecurity/global-exceptions.conf @@ -174,3 +174,12 @@ SecRule REQUEST_URI "@beginsWith /apps/files_pdfviewer/" \ nolog, \ ctl:ruleRemoveById=949110, \ msg:'TUNING: Remove bloqueio por Anomaly Score (949110) para Nextcloud PDF Viewer'" +SecRule REMOTE_ADDR "@ipMatch 172.16.254.1" \ + "id:10034, \ + phase:1, \ + pass, \ + nolog, \ + chain, \ + msg:'WHITELIST: [Proxy 172.16.254.1] Desativa WAF para Office Online (WOPI)'" + SecRule REQUEST_URI "@beginsWith /index.php/apps/officeonline/wopi/files/" \ + "ctl:ruleEngine=Off"