mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
FIX Find Error in Nginx Mainstream Service Missing (1)
This commit is contained in:
parent
a2fb4428ae
commit
ee243a3b7e
1 changed files with 11 additions and 5 deletions
|
@ -67,16 +67,22 @@ sudo apt-get update
|
|||
sudo apt-get install -y --assume-yes nginx-extras
|
||||
sudo nginx -V
|
||||
sudo nginx -t
|
||||
#sudo service nginx start
|
||||
|
||||
# Try fix starting the Nginx Service
|
||||
printf '\n%s\n%s\n%s\n\n' "###################################" " FIX NGINX SERVICE ISSUES" "###################################"
|
||||
|
||||
sudo service nginx start
|
||||
sudo /etc/init.d/nginx stop
|
||||
sudo /etc/init.d/nginx start
|
||||
sudo /etc/init.d/nginx reload
|
||||
|
||||
# Find where Nginx Mainstream Installed to and Find The Service or We Have to Enable it
|
||||
|
||||
#ls -la /etc/
|
||||
ls -la /etc/nginx/
|
||||
sudo service nginx restart
|
||||
sudo service nginx reload
|
||||
sudo systemctl enable nginx.service
|
||||
sudo systemctl status nginx.service
|
||||
sudo service nginx start
|
||||
|
||||
printf '\n%s\n%s\n%s\n\n' "###################################" " END NGINX SERVICE ISSUES" "###################################"
|
||||
|
||||
# **************************************
|
||||
# Make Sure We Cleanup From Nginx Test 3
|
||||
|
|
Loading…
Add table
Reference in a new issue