Install nginx before npm

This commit is contained in:
Bob Mottram 2017-04-13 20:49:58 +01:00
parent 8c28f491ac
commit 14617a85d9
1 changed files with 2 additions and 1 deletions

View File

@ -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