TEST inserting includes in install-nginx-2 REF: #256 REF: #266

This commit is contained in:
Mitchell Krog 2019-06-28 18:57:24 +02:00
parent 53c3659d40
commit acaf4cfabe
No known key found for this signature in database
GPG key ID: C243C388553EDE5D

View file

@ -123,12 +123,15 @@ sudo bash ./install-ngxblocker -x -c /usr/local/nginx/conf.d -b /usr/local/nginx
# ********************
# Force Includes to be written
echo "Copy test nginx.conf"
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/nginx.conf-newformat /etc/nginx/nginx.conf
printf '\n%s\n%s\n%s\n\n' "####################" "Run setup-ngxblocker" "####################"
cd /usr/sbin
sudo bash ./setup-ngxblocker -x -c /usr/local/nginx/conf.d -b /usr/local/nginx/bots.d
cat /etc/nginx/nginx.conf
# ************************
# Load our Nginx.conf file
# ************************