cloudfoundry/stratos

View on GitHub
deploy/stratos-ui-release/packages/nginx/packaging

Summary

Maintainability
Test Coverage
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