From 8250635ec46076afd0274de461ac44a2509bc07a Mon Sep 17 00:00:00 2001 From: James Cooper Date: Sun, 5 Apr 2015 19:49:34 -0700 Subject: [PATCH] #1 - fix test for nginx.conf --- entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint b/entrypoint index e732f1d..52b3a2b 100755 --- a/entrypoint +++ b/entrypoint @@ -2,7 +2,7 @@ set -e # Copy a default configuration into place if not present -if ! [ "$(ls -A .)" ]; then +if ! [ -f /etc/nginx/nginx.conf ]; then cp -upR "/usr/local/openresty/nginx/conf/." "/etc/nginx/" echo "daemon off;" >> "/etc/nginx/nginx.conf" fi