ADD Nginx Mainstream Test (Step 18)

This commit is contained in:
Mitchell Krog 2017-10-03 16:35:15 +02:00
parent acfa6d731a
commit f907fdd9d2
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994
3 changed files with 22 additions and 11 deletions

View file

@ -114,7 +114,7 @@ printf '\n%s\n\n' " "
# Copy our default.vhost file into Nginx /sites-available/
# ********************************************************
printf '\n%s\n%s\n%s\n\n' "################################" "Get Nginx Setup for Nginx Test 3" "################################"
printf '\n%s\n%s\n%s\n\n' "################################" "Get Nginx Setup for Nginx Test 4" "################################"
sudo cp $TRAVIS_BUILD_DIR/.dev-tools/default.vhost /etc/nginx/sites-available/default.vhost
# **********************************************
@ -127,8 +127,8 @@ sudo ln -s /etc/nginx/sites-available/default.vhost /etc/nginx/sites-enabled/def
# Copy our index.php file into the default site's root folder
# ***********************************************************
sudo cp $TRAVIS_BUILD_DIR/.dev-tools/index.php /var/www/html/index.php
printf '\n%s\n%s\n%s\n\n' "#####################################" "Finished Nginx Setup for Nginx Test 3" "#####################################"
sudo cp $TRAVIS_BUILD_DIR/.dev-tools/index.html /var/www/html/index.html
printf '\n%s\n%s\n%s\n\n' "#####################################" "Finished Nginx Setup for Nginx Test 4" "#####################################"
# ***********************************************
# Fetch our install-ngxblocker file from the repo