From 9dc665e7cd3eb88bf5989b3c5f615652f3d4ae3a Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Thu, 17 Apr 2014 17:52:29 -0400 Subject: [PATCH] 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 --- scripts/web.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/web.sh b/scripts/web.sh index 9ee69c5..ced9396 100755 --- a/scripts/web.sh +++ b/scripts/web.sh @@ -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