Minor Fix

This commit is contained in:
earnolmartin 2019-04-30 15:59:49 -06:00
parent 998fdba852
commit e989f9b93d
2 changed files with 2 additions and 2 deletions

View file

@ -2914,7 +2914,7 @@ function installBadBotsBlockerNginx(){
git clone https://github.com/mariusv/nginx-badbot-blocker.git
if [ -e "/etc/nginx/nginx-badbot-blocker/blacklist.conf" ]; then
getServerIPAddr
sed -i "s#\|python-requests##g" "/etc/nginx/nginx-badbot-blocker/blacklist.conf"
sed -i "s#|python-requests##g" "/etc/nginx/nginx-badbot-blocker/blacklist.conf"
sed -i "s#111.111.111.111#${MYIP}#g" "/etc/nginx/nginx-badbot-blocker/blacklist.conf"
fi
fi

View file

@ -2630,7 +2630,7 @@ function installBadBotsBlockerNginx(){
git clone https://github.com/mariusv/nginx-badbot-blocker.git
if [ -e "/etc/nginx/nginx-badbot-blocker/blacklist.conf" ]; then
getServerIPAddr
sed -i "s#\|python-requests##g" "/etc/nginx/nginx-badbot-blocker/blacklist.conf"
sed -i "s#|python-requests##g" "/etc/nginx/nginx-badbot-blocker/blacklist.conf"
sed -i "s#111.111.111.111#${MYIP}#g" "/etc/nginx/nginx-badbot-blocker/blacklist.conf"
fi
fi