From 2f0d4082280c22fa65c3220880378cd98ff01a19 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Wed, 26 Jun 2019 09:58:50 +0200 Subject: [PATCH] ADJUST Rate Limit 1r/s burst=1 to Test Rate Limiting REF: #175 --- .dev-tools/globalblacklist-testing.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dev-tools/globalblacklist-testing.template b/.dev-tools/globalblacklist-testing.template index 894116b19..33d2039d5 100644 --- a/.dev-tools/globalblacklist-testing.template +++ b/.dev-tools/globalblacklist-testing.template @@ -10631,7 +10631,7 @@ geo $ratelimited { # this rate limiting will only take effect if you change any of the bots and change # their block value from 1 to 2. limit_conn_zone $bot_iplimit zone=bot2_connlimit:16m; - limit_req_zone $bot_iplimit zone=bot2_reqlimitip:16m rate=2r/m; + limit_req_zone $bot_iplimit zone=bot2_reqlimitip:16m rate=1r/s burst=1; ### *** MAKE SURE TO ADD to your nginx.conf *** ### server_names_hash_bucket_size 64;