Remove bad logic regarding sigil template

The copied sigil template will be the dokku one, not an nginx-app specific version
This commit is contained in:
Jose Diaz-Gonzalez 2016-09-20 00:08:08 -06:00
parent d3a90d7520
commit bb20210245
1 changed files with 0 additions and 6 deletions

View File

@ -125,12 +125,6 @@ if [ -f $BUILD_DIR/nginx.conf.erb ] ; then
echo "-----> using user provided nginx.conf.erb"
cp $BUILD_DIR/nginx.conf.erb $BUILD_DIR/nginx/nginx.conf.erb
# Dokku 0.5.0+ uses nginx.conf.sigil for customizing the
# Nginx configuration, so let's check if it exists
elif [ -f $BUILD_DIR/nginx.conf.sigil ] ; then
echo "-----> using user provided nginx.conf.sigil"
cp $BUILD_DIR/nginx.conf.sigil $BUILD_DIR/nginx/nginx.conf.sigil
# ...else, force default file
else
echo "-----> using default nginx.conf.erb"