ADD Nginx Mainstream Test (Step 11)

This commit is contained in:
Mitchell Krog 2017-10-03 15:26:41 +02:00
parent 43a8376fb8
commit 545e26419d
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994

View file

@ -49,10 +49,11 @@
#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 install software-properties-common
#sudo apt-get -y autoremove
sudo rm -rf /etc/nginx/mybots.d/
sudo rm -rf /etc/nginx/myconf.d/
sudo rm -rfv /etc/nginx/mybots.d/
sudo rm -rfv /etc/nginx/myconf.d/
ls -la /etc/nginx/
# *****************************
# Lets Install Mainstream Nginx
@ -61,8 +62,8 @@ sudo rm -rf /etc/nginx/myconf.d/
mainstreamnginx=development
sudo add-apt-repository -y ppa:nginx/$mainstreamnginx
sudo apt-get update
#sudo apt-get install -y --assume-yes nginx-extras
sudo apt-get -y dist-upgrade
sudo apt-get install -y --assume-yes nginx-extras
#sudo apt-get -y dist-upgrade
sudo nginx -V
sudo nginx -t
sudo service nginx start