mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-05 20:20:02 +00:00
ADD Nginx Mainstream Test (Step 7)
This commit is contained in:
parent
838724f400
commit
a759cfd1c9
1 changed files with 5 additions and 2 deletions
|
@ -55,14 +55,17 @@ 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 nginx -V
|
sudo nginx -V
|
||||||
|
sudo service nginx start
|
||||||
|
|
||||||
# Find where Nginx Mainstream Installed to and Find The Service or We Have to Enable it
|
# Find where Nginx Mainstream Installed to and Find The Service or We Have to Enable it
|
||||||
|
|
||||||
ls -la /etc/
|
#ls -la /etc/
|
||||||
ls -la /etc/nginx/
|
ls -la /etc/nginx/
|
||||||
sudo service nginx restart
|
sudo service nginx restart
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo systemctl status nginx.service
|
sudo systemctl status nginx.service
|
||||||
|
sudo systemctl enable nginx.service
|
||||||
|
sudo systemctl status nginx.service
|
||||||
|
|
||||||
# **************************************
|
# **************************************
|
||||||
# Make Sure We Cleanup From Nginx Test 3
|
# Make Sure We Cleanup From Nginx Test 3
|
||||||
|
|
Loading…
Add table
Reference in a new issue