mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 02:59:57 +00:00
Reduce Line Breaks in Tests / Rename Conf Directories
This commit is contained in:
parent
6517495bcb
commit
03b8bbcc95
34 changed files with 8 additions and 8 deletions
|
@ -98,10 +98,10 @@ echo "${bold}${green}-----------------------------------------------------------
|
||||||
echo "${bold}${green}Make Backup all conf files and folders used during this test"
|
echo "${bold}${green}Make Backup all conf files and folders used during this test"
|
||||||
echo "${bold}${green}------------------------------------------------------------"
|
echo "${bold}${green}------------------------------------------------------------"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
sudo cp /etc/nginx/bots.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_ip_whitelist/bots.d/
|
sudo cp /etc/nginx/bots.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/conf_files_ip_whitelist/bots.d/
|
||||||
sudo cp /etc/nginx/conf.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_ip_whitelist/conf.d/
|
sudo cp /etc/nginx/conf.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/conf_files_ip_whitelist/conf.d/
|
||||||
sudo cp /etc/nginx/sites-available/default.vhost ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_ip_whitelist/default.vhost
|
sudo cp /etc/nginx/sites-available/default.vhost ${TRAVIS_BUILD_DIR}/.dev-tools/conf_files_ip_whitelist/default.vhost
|
||||||
sudo cp /etc/nginx/nginx.conf ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_ip_whitelist/nginx.conf
|
sudo cp /etc/nginx/nginx.conf ${TRAVIS_BUILD_DIR}/.dev-tools/conf_files_ip_whitelist/nginx.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
blacklistOwnIP () {
|
blacklistOwnIP () {
|
||||||
|
|
|
@ -240,10 +240,10 @@ echo "${bold}${green}-----------------------------------------------------------
|
||||||
echo "${bold}${green}Make Backup all conf files and folders used during this test"
|
echo "${bold}${green}Make Backup all conf files and folders used during this test"
|
||||||
echo "${bold}${green}------------------------------------------------------------"
|
echo "${bold}${green}------------------------------------------------------------"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
sudo cp /etc/nginx/bots.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_whitelist/bots.d/
|
sudo cp /etc/nginx/bots.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/conf_files_whitelist/bots.d/
|
||||||
sudo cp /etc/nginx/conf.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_whitelist/conf.d/
|
sudo cp /etc/nginx/conf.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/conf_files_whitelist/conf.d/
|
||||||
sudo cp /etc/nginx/sites-available/default.vhost ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_whitelist/default.vhost
|
sudo cp /etc/nginx/sites-available/default.vhost ${TRAVIS_BUILD_DIR}/.dev-tools/conf_files_whitelist/default.vhost
|
||||||
sudo cp /etc/nginx/nginx.conf ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_whitelist/nginx.conf
|
sudo cp /etc/nginx/nginx.conf ${TRAVIS_BUILD_DIR}/.dev-tools/conf_files_whitelist/nginx.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
# -----------
|
# -----------
|
||||||
|
|
Loading…
Add table
Reference in a new issue