deploy/stratos-ui-release/packages/nginx/packaging
set -e -x
echo "Extracting pcre..."
tar xzvf nginx/pcre-8.40.tar.gz
echo "Extracting nginx..."
tar xzvf nginx/nginx-1.11.13.tar.gz
echo "Building nginx..."
pushd nginx-1.11.13
./configure \
--prefix=${BOSH_INSTALL_TARGET} \
--with-pcre=../pcre-8.40 \
--with-http_stub_status_module \
--with-http_ssl_module
make
make install
popd