mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
ADD Nginx Mainstream Test (Step 8)
This commit is contained in:
parent
a759cfd1c9
commit
48a61ef2a5
1 changed files with 10 additions and 3 deletions
|
@ -43,18 +43,25 @@
|
|||
# Start Getting Nginx Ready for Testing the Nginx Bad Bot Blocker
|
||||
# ***************************************************************
|
||||
|
||||
# *****************************
|
||||
# Lets Install Mainstream Nginx
|
||||
# *****************************
|
||||
# ***********************************
|
||||
# Lets Uninstall Current Nginx 1.12.1
|
||||
# ***********************************
|
||||
|
||||
sudo apt-get -y remove nginx
|
||||
sudo apt-get -y remove nginx-extras
|
||||
sudo apt-get -y install software-properties-common
|
||||
sudo apt-get -y autoremove
|
||||
|
||||
# *****************************
|
||||
# Lets Install Mainstream Nginx
|
||||
# *****************************
|
||||
|
||||
mainstreamnginx=development
|
||||
sudo add-apt-repository -y ppa:nginx/$mainstreamnginx
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --assume-yes nginx-extras
|
||||
sudo nginx -V
|
||||
sudo nginx -t
|
||||
sudo service nginx start
|
||||
|
||||
# Find where Nginx Mainstream Installed to and Find The Service or We Have to Enable it
|
||||
|
|
Loading…
Add table
Reference in a new issue