1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

use purge to get rid of apache

This commit is contained in:
Joshua Tauberer 2014-04-25 11:41:50 +00:00
parent beae591a0e
commit 9bab925123

View File

@ -1,7 +1,11 @@
# HTTP: Turn on a web server serving static files
#################################################
apt-get remove -q -y apache2
# Remove Apache before installing Nginx. Apache may leave
# some unwanted configuration files around (e.g. a ufw
# application config), so purge the packages.
apt-get purge -q -y apache2 apache2.2-common
apt-get install -q -y nginx php5-cgi
rm -f /etc/nginx/sites-enabled/default