Minor Fix
This commit is contained in:
parent
998fdba852
commit
e989f9b93d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue