mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-13 00:30:07 +00:00
[V4] Adjust rate limiting / Fix beta tests
This commit is contained in:
parent
b2ac101dd7
commit
d1cdfd6573
3 changed files with 19 additions and 2 deletions
|
@ -35,6 +35,23 @@ echo "${bold}${green}Tests Starting"
|
|||
echo "${bold}${green}--------------"
|
||||
printf "\n\n"
|
||||
|
||||
# *********************
|
||||
# Force reload of Nginx
|
||||
# *********************
|
||||
|
||||
printf "\n"
|
||||
echo "${bold}${green}------------"
|
||||
echo "${bold}${green}Reload Nginx"
|
||||
echo "${bold}${green}------------"
|
||||
printf "\n"
|
||||
sudo nginx -t && sudo nginx -s reload
|
||||
|
||||
echo "${bold}${yellow}-----------------------------------------------------------------------"
|
||||
echo "${bold}${yellow}Sleeping for 10 seconds to allow Nginx to Properly Reload inside Travis"
|
||||
echo "${bold}${yellow}-----------------------------------------------------------------------"
|
||||
printf "\n\n"
|
||||
sleep 10s
|
||||
|
||||
|
||||
# *************************************************
|
||||
# Function Curl Test 1 - Check for Bad Bot "80legs"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue