Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Commit

Permalink
Merge pull request #2 from coopernurse/fix-entrypoint
Browse files Browse the repository at this point in the history
#1 - fix test for nginx.conf
  • Loading branch information
marclennox committed Apr 6, 2015
2 parents c24a7d2 + 8250635 commit bd5ce4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd5ce4d

Please sign in to comment.