mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 11:10:47 +00:00
ADD Nginx Mainstream Test (Step 2)
This commit is contained in:
parent
c11224508f
commit
145857bcf0
1 changed files with 5 additions and 4 deletions
|
@ -54,8 +54,8 @@ sudo rm /etc/nginx/sites-enabled/default.vhost
|
||||||
sudo rm /var/www/html/*
|
sudo rm /var/www/html/*
|
||||||
sudo rm /usr/local/nginx/conf.d/*.conf
|
sudo rm /usr/local/nginx/conf.d/*.conf
|
||||||
sudo rm /usr/local/nginx/bots.d/*.conf
|
sudo rm /usr/local/nginx/bots.d/*.conf
|
||||||
#sudo apt-get -y remove nginx
|
sudo apt-get -y remove nginx
|
||||||
#sudo apt-get -y remove nginx-extras
|
sudo apt-get -y remove nginx-extras
|
||||||
sudo apt-get -y install software-properties-common
|
sudo apt-get -y install software-properties-common
|
||||||
printf '\n%s\n%s\n%s\n\n' "########################################" "Cleaning up Files from Nginx Test 3 DONE" "########################################"
|
printf '\n%s\n%s\n%s\n\n' "########################################" "Cleaning up Files from Nginx Test 3 DONE" "########################################"
|
||||||
|
|
||||||
|
@ -67,10 +67,11 @@ printf '\n%s\n%s\n%s\n\n' "########################################" "Cleaning u
|
||||||
#sudo cp $TRAVIS_BUILD_DIR/.dev-tools/_nginx_conf_backup/nginx.conf /etc/nginx/nginx.conf
|
#sudo cp $TRAVIS_BUILD_DIR/.dev-tools/_nginx_conf_backup/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
# Lets Install Mainstream Nginx
|
# Lets Install Mainstream Nginx
|
||||||
mainstreamnginx=mainstream
|
mainstreamnginx=development
|
||||||
sudo add-apt-repository ppa:nginx/$mainstreamnginx
|
sudo add-apt-repository ppa:nginx/$mainstreamnginx
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y dist-upgrade
|
#sudo apt-get -y dist-upgrade
|
||||||
|
sudo apt-get install -y --assume-yes nginx-extras
|
||||||
sudo nginx -V
|
sudo nginx -V
|
||||||
|
|
||||||
# *************************************
|
# *************************************
|
||||||
|
|
Loading…
Add table
Reference in a new issue