FINALISE Install Nginx Mainstream / Test Insert Includes into .vhost with no location block

Reduce verbosity of some tests
This commit is contained in:
Mitchell Krog 2019-06-29 14:41:01 +02:00
parent 81be9da3ea
commit 33d2dbe175
No known key found for this signature in database
GPG key ID: C243C388553EDE5D
6 changed files with 33 additions and 31 deletions

View file

@ -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