#!/usr/bin/env bash
# bin/detect <build-dir>

BP=$(dirname $(dirname $0))

if [ -f $1/nginx.conf ]; then
  echo "nginx `cat $BP/VERSION`" && exit 0
else
  echo "no" && exit 1
fi
