mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-06 20:50:05 +00:00
ADD Nginx Mainstream Test (Step 11)
This commit is contained in:
parent
43a8376fb8
commit
545e26419d
1 changed files with 6 additions and 5 deletions
|
@ -49,10 +49,11 @@
|
||||||
|
|
||||||
#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
|
||||||
#sudo apt-get -y autoremove
|
#sudo apt-get -y autoremove
|
||||||
sudo rm -rf /etc/nginx/mybots.d/
|
sudo rm -rfv /etc/nginx/mybots.d/
|
||||||
sudo rm -rf /etc/nginx/myconf.d/
|
sudo rm -rfv /etc/nginx/myconf.d/
|
||||||
|
ls -la /etc/nginx/
|
||||||
|
|
||||||
# *****************************
|
# *****************************
|
||||||
# Lets Install Mainstream Nginx
|
# Lets Install Mainstream Nginx
|
||||||
|
@ -61,8 +62,8 @@ sudo rm -rf /etc/nginx/myconf.d/
|
||||||
mainstreamnginx=development
|
mainstreamnginx=development
|
||||||
sudo add-apt-repository -y ppa:nginx/$mainstreamnginx
|
sudo add-apt-repository -y ppa:nginx/$mainstreamnginx
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
#sudo apt-get install -y --assume-yes nginx-extras
|
sudo apt-get install -y --assume-yes nginx-extras
|
||||||
sudo apt-get -y dist-upgrade
|
#sudo apt-get -y dist-upgrade
|
||||||
sudo nginx -V
|
sudo nginx -V
|
||||||
sudo nginx -t
|
sudo nginx -t
|
||||||
sudo service nginx start
|
sudo service nginx start
|
||||||
|
|
Loading…
Add table
Reference in a new issue