mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 10:09:49 +00:00
New Super Rate Limiting Feature
Closes: #568 Add new super rate limiting test for Applebot as our rate limiting subject All tests pass New feature will not affect existing installations
This commit is contained in:
parent
98b424a2fa
commit
d51d1077c4
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ printf "\n"
|
|||
sleep 10s
|
||||
}
|
||||
|
||||
ratelimitGoogle () {
|
||||
ratelimitGoogle_superratelimitAppleBot () {
|
||||
echo "${bold}${yellow}-----------------------------"
|
||||
echo "${bold}${yellow}Making GoogleBot ${yellow}RATE LIMITED"
|
||||
echo "${bold}${yellow}-----------------------------"
|
||||
|
@ -296,7 +296,7 @@ echo "${bold}${green}Starting Rate Limiting Test"
|
|||
echo "${bold}${green}---------------------------"
|
||||
printf "\n"
|
||||
|
||||
ratelimitGoogle
|
||||
ratelimitGoogle_superratelimitAppleBot
|
||||
reloadNginX
|
||||
waitforReload
|
||||
testRateLimiting
|
||||
|
|
Loading…
Add table
Reference in a new issue