mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-09 13:55:41 +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
|
@ -57,18 +57,12 @@ printf '%s\t%s\n' "127.0.0.1" "1;" >> ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/
|
|||
printf '%s\t%s\n' "127.0.0.1" "1;" >> ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/whitelist-ips.conf
|
||||
printf '%s\t%s\n' "127.0.0.1" "1;" >> ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/whitelist-ips.conf
|
||||
printf '%s\t%s\n' "127.0.0.1" "0;" >> ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/whitelist-ips.conf
|
||||
|
||||
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/whitelist-ips.conf /etc/nginx/bots.d/whitelist-ips.conf
|
||||
|
||||
# TEST ANY CHANGES TO botblocker-nginx-settings.conf
|
||||
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/botblocker-nginx-settings.conf /etc/nginx/conf.d/botblocker-nginx-settings.conf
|
||||
|
||||
#printf "\n"
|
||||
#echo "${bold}${yellow}---------------------------------------------------"
|
||||
#echo "${bold}${yellow}Copy Test Unit of globalblacklist.conf file to test"
|
||||
#echo "${bold}${yellow}---------------------------------------------------"
|
||||
#printf "\n"
|
||||
|
||||
#sudo cp ${TRAVIS_BUILD_DIR}/conf.d/globalblacklist-testing-version.conf /etc/nginx/conf.d/globalblacklist.conf
|
||||
|
||||
|
||||
echo "${bold}${green}---------------"
|
||||
echo "${bold}${green}Reloading Nginx"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue