From 4987fab3e99753cfd7ad45294f27ff8d4829ba0f Mon Sep 17 00:00:00 2001 From: Ric Harvey Date: Fri, 30 Jan 2015 21:15:55 +0000 Subject: [PATCH] Fix permissions so PHP can write to dir --- start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/start.sh b/start.sh index e49249d..c891fca 100644 --- a/start.sh +++ b/start.sh @@ -12,6 +12,7 @@ if [ ! -z "$GIT_REPO" ]; then else git clone $GIT_REPO /usr/share/nginx/html/ fi + chown -Rf nginx.nginx /usr/share/nginx/* fi # Tweak nginx to match the workers to cpu's