diff --git a/start.sh b/start.sh index 90f85e7..9f722e3 100644 --- a/start.sh +++ b/start.sh @@ -49,5 +49,8 @@ if [[ "$TEMPLATE_NGINX_HTML" != "0" ]] ; then done fi +# Again set the right permissions (needed when mounting from a volume) +chown -Rf www-data.www-data /usr/share/nginx/html/ + # Start supervisord and services /usr/bin/supervisord -n -c /etc/supervisord.conf