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,8 +1,8 @@
|
|||
# HTTP: Turn on a web server serving static files
|
||||
#################################################
|
||||
|
||||
apt-get install -q -y \
|
||||
nginx
|
||||
apt-get remove -q -y apache2
|
||||
apt-get install -q -y nginx
|
||||
|
||||
rm -f /etc/nginx/sites-enabled/default
|
||||
|
||||
|
|
Loading…
Reference in New Issue