Install nginx before npm
This commit is contained in:
parent
8c28f491ac
commit
14617a85d9
|
@ -524,7 +524,8 @@ function install_web_server {
|
||||||
rm -rf /etc/apache2
|
rm -rf /etc/apache2
|
||||||
fi
|
fi
|
||||||
# install nginx
|
# install nginx
|
||||||
apt-get -yq install nginx php5-fpm git
|
apt-get -yq install nginx
|
||||||
|
apt-get -yq install php5-fpm git
|
||||||
|
|
||||||
# Turn off logs by default
|
# Turn off logs by default
|
||||||
sed -i 's|access_log.*|access_log = /dev/null;|g' /etc/nginx/nginx.conf
|
sed -i 's|access_log.*|access_log = /dev/null;|g' /etc/nginx/nginx.conf
|
||||||
|
|
Loading…
Reference in New Issue