mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +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
|
sleep 10s
|
||||||
}
|
}
|
||||||
|
|
||||||
ratelimitGoogle () {
|
ratelimitGoogle_superratelimitAppleBot () {
|
||||||
echo "${bold}${yellow}-----------------------------"
|
echo "${bold}${yellow}-----------------------------"
|
||||||
echo "${bold}${yellow}Making GoogleBot ${yellow}RATE LIMITED"
|
echo "${bold}${yellow}Making GoogleBot ${yellow}RATE LIMITED"
|
||||||
echo "${bold}${yellow}-----------------------------"
|
echo "${bold}${yellow}-----------------------------"
|
||||||
|
@ -296,7 +296,7 @@ echo "${bold}${green}Starting Rate Limiting Test"
|
||||||
echo "${bold}${green}---------------------------"
|
echo "${bold}${green}---------------------------"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
||||||
ratelimitGoogle
|
ratelimitGoogle_superratelimitAppleBot
|
||||||
reloadNginX
|
reloadNginX
|
||||||
waitforReload
|
waitforReload
|
||||||
testRateLimiting
|
testRateLimiting
|
||||||
|
|
Loading…
Add table
Reference in a new issue