diff --git a/.dev-tools/beta-test-blocker.sh b/.dev-tools/beta-test-blocker.sh index fec128abb..b36dcb2d1 100755 --- a/.dev-tools/beta-test-blocker.sh +++ b/.dev-tools/beta-test-blocker.sh @@ -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" diff --git a/.dev-tools/globalblacklist-testing.template b/.dev-tools/globalblacklist-testing.template index 5206f0e14..23cfacae0 100644 --- a/.dev-tools/globalblacklist-testing.template +++ b/.dev-tools/globalblacklist-testing.template @@ -17992,7 +17992,7 @@ geo $ratelimited { # Rate limiting will only take effect if on any User-Agents with a value of 2 limit_conn_zone $bot_iplimit zone=bot2_connlimit:16m; - limit_req_zone $bot_iplimit zone=bot2_reqlimitip:16m rate=6r/m; + limit_req_zone $bot_iplimit zone=bot2_reqlimitip:16m rate=12r/m; # ========================================== # END SECTION 4 - ACTIVATE BLOCKER FUNCTIONS diff --git a/.dev-tools/globalblacklist.template b/.dev-tools/globalblacklist.template index 5206f0e14..23cfacae0 100755 --- a/.dev-tools/globalblacklist.template +++ b/.dev-tools/globalblacklist.template @@ -17992,7 +17992,7 @@ geo $ratelimited { # Rate limiting will only take effect if on any User-Agents with a value of 2 limit_conn_zone $bot_iplimit zone=bot2_connlimit:16m; - limit_req_zone $bot_iplimit zone=bot2_reqlimitip:16m rate=6r/m; + limit_req_zone $bot_iplimit zone=bot2_reqlimitip:16m rate=12r/m; # ========================================== # END SECTION 4 - ACTIVATE BLOCKER FUNCTIONS