mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-09 13:55:41 +00:00
Minor formatting fixes on Nginx Tests 1,2 and 3
This commit is contained in:
parent
879e6ff02a
commit
3e906b6d2e
3 changed files with 10 additions and 7 deletions
|
@ -43,18 +43,20 @@
|
|||
# Start Getting Nginx Ready for Testing the Nginx Bad Bot Blocker
|
||||
# ***************************************************************
|
||||
|
||||
printf '\n%s\n%s\n%s\n\n' "###################################" " STARTING NGINX TEST 1" "###################################"
|
||||
|
||||
# ******************************************************
|
||||
# Make a backup of the clean and default nginx.conf file
|
||||
# Needed to run Nginx test 3
|
||||
# ******************************************************
|
||||
|
||||
printf '\n%s\n%s\n%s\n\n' "###################################" "Making backup of default nginx.conf" "###################################"
|
||||
sudo cp /etc/nginx/nginx.conf $TRAVIS_BUILD_DIR/.dev-tools/_nginx_conf_backup/nginx.conf
|
||||
|
||||
# *************************************************
|
||||
# Delete default site created by Nginx Installation
|
||||
# *************************************************
|
||||
|
||||
printf '\n%s\n%s\n%s\n\n' "###################################" "STARTING NGINX TEST 1" "###################################"
|
||||
printf '\n%s\n%s\n%s\n\n' "###########################################" "Delete any default files installed by Nginx" "###########################################"
|
||||
sudo rm /etc/nginx/sites-available/default
|
||||
sudo rm /etc/nginx/sites-enabled/default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue