mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-29 16:15:12 +00:00
initial patterns
This commit is contained in:
4
waf_patterns/exceptions.conf
Normal file
4
waf_patterns/exceptions.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
@block_exceptions {
|
||||
path_regexp exceptions "(?i)(@streq GET /|@ipMatch 127.0.0.1,::1|@ipMatch 127.0.0.1,::1|@endsWith (internal dummy connection)|@rx ^(?:GET /|OPTIONS *) HTTP/[12].[01]$)"
|
||||
}
|
||||
respond @block_exceptions 403
|
||||
Reference in New Issue
Block a user