mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
remove apache before installing nginx, see #224
This commit is contained in:
parent
5fd107cae5
commit
7c2092d48f
@ -5,6 +5,14 @@
|
|||||||
source setup/functions.sh # load our functions
|
source setup/functions.sh # load our functions
|
||||||
source /etc/mailinabox.conf # load global vars
|
source /etc/mailinabox.conf # load global vars
|
||||||
|
|
||||||
|
# Some Ubuntu images start off with Apache. Remove it since we
|
||||||
|
# will use nginx. Use autoremove to remove any Apache depenencies.
|
||||||
|
if [ -f /usr/sbin/apache2 ]; then
|
||||||
|
echo Removing apache...
|
||||||
|
hide_output apt-get -y purge apache2 apache2-*
|
||||||
|
hide_output apt-get -y --purge autoremove
|
||||||
|
fi
|
||||||
|
|
||||||
# Install nginx and a PHP FastCGI daemon.
|
# Install nginx and a PHP FastCGI daemon.
|
||||||
#
|
#
|
||||||
# Turn off nginx's default website.
|
# Turn off nginx's default website.
|
||||||
|
Loading…
Reference in New Issue
Block a user