Nginx Test 1 - Backup default nginx.conf file

- Needed to be able to run test 3
This commit is contained in:
Mitchell Krog 2017-08-27 10:46:27 +02:00
parent a3066578a5
commit 9132de6335
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994
5 changed files with 471 additions and 9 deletions

View file

@ -43,6 +43,13 @@
# Start Getting Nginx Ready for Testing the Nginx Bad Bot Blocker
# ***************************************************************
# ******************************************************
# Make a backup of the clean and default nginx.conf file
# Needed to run Nginx test 3
# ******************************************************
sudo cp /etc/nginx/nginx.conf $TRAVIS_BUILD_DIR/.dev-tools/_nginx_conf_backup/nginx.conf
# *************************************************
# Delete default site created by Nginx Installation
# *************************************************