From c2748f137e53598b6a95e78ede81dab773ad7459 Mon Sep 17 00:00:00 2001 From: Mathieu Larose Date: Tue, 6 Dec 2016 22:14:24 -0500 Subject: [PATCH] Use app-nginx.conf.sigil if provided --- bin/compile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index 7f4b32e..7c651c7 100755 --- a/bin/compile +++ b/bin/compile @@ -142,10 +142,9 @@ cd "$CUR_DIR" if [ -f "$BUILD_DIR/app-nginx.conf.sigil" ] ; then echo "-----> Using user provided app-nginx.conf.sigil" cp "$BUILD_DIR/app-nginx.conf.sigil" "$BUILD_DIR/nginx/app-nginx.conf.sigil" -fi # Allow deprecated nginx.conf.erb -if [ -f "$BUILD_DIR/nginx.conf.erb" ] ; then +elif [ -f "$BUILD_DIR/nginx.conf.erb" ] ; then echo "-----> DEPRECATED: using user provided nginx.conf.erb" cp "$BUILD_DIR/nginx.conf.erb" "$BUILD_DIR/nginx/nginx.conf.erb"