remove apache before installing nginx --- it's not needed and will start complaining about the port being in use, or it might interfere with nginx
This commit is contained in:
parent
d5fe5bd2a2
commit
9dc665e7cd
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
# HTTP: Turn on a web server serving static files
|
# HTTP: Turn on a web server serving static files
|
||||||
#################################################
|
#################################################
|
||||||
|
|
||||||
apt-get install -q -y \
|
apt-get remove -q -y apache2
|
||||||
nginx
|
apt-get install -q -y nginx
|
||||||
|
|
||||||
rm -f /etc/nginx/sites-enabled/default
|
rm -f /etc/nginx/sites-enabled/default
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue