mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 19:20:16 +00:00
Update Regex Pattern
Run Build and Tests
This commit is contained in:
parent
21020b6f56
commit
43cac0a02d
1 changed files with 6 additions and 6 deletions
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
# VERSION INFORMATION #
|
# VERSION INFORMATION #
|
||||||
#----------------------
|
#----------------------
|
||||||
# Version: V4.2019.07
|
# Version: V4.2019.08
|
||||||
# Updated: 2019-06-28
|
# Updated: 2019-07-05
|
||||||
#----------------------
|
#----------------------
|
||||||
# VERSION INFORMATION #
|
# VERSION INFORMATION #
|
||||||
|
|
||||||
|
@ -32,15 +32,15 @@
|
||||||
# PLEASE MAKE SURE that you use word regex boundaries to avoid false positive detection !!!
|
# PLEASE MAKE SURE that you use word regex boundaries to avoid false positive detection !!!
|
||||||
# *****************************************************************************************
|
# *****************************************************************************************
|
||||||
|
|
||||||
# As you can see in the examples below the domain "myfirstowndomainname\.com" is entered with a preceding \b and an ending \b
|
# As you can see in the examples below the domain "myfirstowndomainname\.com" is entered with a preceding (?:\b) and an ending (?:\b)
|
||||||
# this makes it now "\bmyfirstowndomainname\.com\b". It is crucial to use the word boundaries regex formatting.
|
# this makes it now "(?:\b)myfirstowndomainname\.com(?:\b)". It is important to use the word boundaries regex formatting.
|
||||||
|
|
||||||
# BY DEFAULT ALL THE EXAMPLES BELOW ARE COMMENTED OUT AND HENCE NOT ENABLED
|
# BY DEFAULT ALL THE EXAMPLES BELOW ARE COMMENTED OUT AND HENCE NOT ENABLED
|
||||||
# ---------
|
# ---------
|
||||||
# EXAMPLES:
|
# EXAMPLES:
|
||||||
# ---------
|
# ---------
|
||||||
# "~*(?:\b)myfirstowndomainname\.com(?:\b|)" 0;
|
# "~*(?:\b)myfirstowndomainname\.com(?:\b)" 0;
|
||||||
# "~*(?:\b)my\-second\-owndomainname\.com(?:\b|)" 0;
|
# "~*(?:\b)my\-second\-owndomainname\.com(?:\b)" 0;
|
||||||
|
|
||||||
# ------------
|
# ------------
|
||||||
# MY WHITELIST
|
# MY WHITELIST
|
||||||
|
|
Loading…
Add table
Reference in a new issue