diff --git a/lib/install-nginx.sh b/lib/install-nginx.sh index c717bb5..98d8c93 100644 --- a/lib/install-nginx.sh +++ b/lib/install-nginx.sh @@ -1,4 +1,4 @@ -set -e +set -e BUILD_DIR=/tmp/nginx NGINX_VERSION=1.8.0 @@ -11,6 +11,7 @@ useradd $NGINX_USER || : # install dependencies apt-get update apt-get -y install libpcre3-dev libssl-dev openssl build-essential wget +apt-get -y --only-upgrade install libssl1.0.0 openssl # start building process @@ -37,4 +38,4 @@ apt-get -y remove build-essential wget apt-get -y autoremove # generate new Diffie-Hellman group -openssl dhparam -out /dhparams.pem 2048 \ No newline at end of file +openssl dhparam -out /dhparams.pem 2048