nginx snippets generation fix + others minor improvements.

This commit is contained in:
fabriziosalmi
2025-01-16 14:02:19 +01:00
parent 1da19ed802
commit e8da4c3d28
49 changed files with 2436 additions and 2284 deletions

View File

@@ -4,10 +4,10 @@
map $request_uri $waf_block_exceptions {
default 0;
"~*^(?:GET /|OPTIONS *) HTTP/[12].[01]$" 1;
"~*@ipMatch 127.0.0.1,::1" 1;
"~*@streq GET /" 1;
"~*@endsWith (internal dummy connection)" 1;
"~*^(?:GET /|OPTIONS *) HTTP/[12].[01]$" 1;
"~*@streq GET /" 1;
}
if ($waf_block_exceptions) {