mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-09 22:05:46 +00:00
Update botblocker-nginx-settings.conf
This commit is contained in:
parent
75056690c8
commit
01bbf29b51
4 changed files with 6 additions and 44 deletions
|
@ -30,40 +30,6 @@ cyan=$(tput setaf 6)
|
|||
white=$(tput setaf 7)
|
||||
defaultcolor=$(tput setaf default)
|
||||
|
||||
# *******************************************
|
||||
# Set Location of our Curl Test Results Files
|
||||
# *******************************************
|
||||
|
||||
#echo "${bold}${green}------------------------------------------------"
|
||||
#echo "${bold}${green}Disable any User Whitelisting and set to Default"
|
||||
#echo "${bold}${green}------------------------------------------------"
|
||||
#printf "\n\n"
|
||||
|
||||
#sudo rm /etc/nginx/conf.d/*.conf
|
||||
#sudo rm /etc/nginx/bots.d/*.conf
|
||||
#ls -la /etc/nginx/conf.d/
|
||||
#ls -la /etc/nginx/bots.d/
|
||||
|
||||
#printf "\n"
|
||||
#echo "${bold}${magenta}-------------------------"
|
||||
#echo "${bold}${magenta}Execute update-ngxblocker"
|
||||
#echo "${bold}${magenta}-------------------------"
|
||||
#printf "\n"
|
||||
#cd /usr/sbin
|
||||
#sudo bash ./update-ngxblocker -n
|
||||
|
||||
#echo "${bold}${green}---------------"
|
||||
#echo "${bold}${green}Reloading Nginx"
|
||||
#echo "${bold}${green}---------------"
|
||||
#printf "\n\n"
|
||||
#sudo nginx -t && sudo nginx -s reload
|
||||
|
||||
#echo "${bold}${yellow}-----------------------------------------------------------------------"
|
||||
#echo "${bold}${yellow}Sleeping for 10 seconds to allow Nginx to Properly Reload inside Travis"
|
||||
#echo "${bold}${yellow}-----------------------------------------------------------------------"
|
||||
#printf "\n\n"
|
||||
#sleep 10s
|
||||
|
||||
echo "${bold}${green}--------------"
|
||||
echo "${bold}${green}Tests Starting"
|
||||
echo "${bold}${green}--------------"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue