1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-12-27 06:15:25 +00:00

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

View File

@ -125,12 +125,6 @@ if [ -f $BUILD_DIR/nginx.conf.erb ] ; then
echo "-----> using user provided nginx.conf.erb" echo "-----> using user provided nginx.conf.erb"
cp $BUILD_DIR/nginx.conf.erb $BUILD_DIR/nginx/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, force default file
else else
echo "-----> using default nginx.conf.erb" echo "-----> using default nginx.conf.erb"