更新
更旧

N. Taylor Mullen
已提交
set -euo pipefail
scriptroot="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
reporoot="$(dirname "$(dirname "$scriptroot")")"
nginxinstall="$reporoot/.tools/nginx"
curl -sSL http://nginx.org/download/nginx-1.14.2.tar.gz --retry 5 | tar zxfv - -C /tmp && cd /tmp/nginx-1.14.2/
./configure --prefix=$nginxinstall --with-http_ssl_module --without-http_rewrite_module
echo "##vso[task.prependpath]$nginxinstall/sbin"