mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-09 13:55:41 +00:00
FINALISE Install Nginx Mainstream / Test Insert Includes into .vhost with no location block
Reduce verbosity of some tests
This commit is contained in:
parent
81be9da3ea
commit
33d2dbe175
6 changed files with 33 additions and 31 deletions
|
@ -293,7 +293,7 @@ lines=$(cat ${file})
|
|||
for line in ${lines}; do
|
||||
if
|
||||
curl -v -A "${line}" http://localhost:9000 2>&1 | grep -i 'Welcome'; then
|
||||
echo "${bold}${green}PASSED - ${green}${line} was ${bold}${green}ALLOWED"
|
||||
echo "${bold}${green}PASSED - ${green}${line} was ${bold}${green}ALLOWED and ${bold}${red}RATE LIMITED"
|
||||
else
|
||||
echo "${bold}${green}FAILED - ${red}${line} was ${bold}${red}BLOCKED"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue