diff --git a/10-seeddms.sh b/10-seeddms.sh index ec5a109..0b34320 100755 --- a/10-seeddms.sh +++ b/10-seeddms.sh @@ -35,7 +35,7 @@ rm -f /tmp/seeddms-adminpwd.sql # Create OS user adduser --system --group --home /srv/seeddms --shell /bin/false seeddms -chown -R seeddms:seeddms /srv/seeddms/ +chown -R seeddms:www-data /srv/seeddms/ # Create PHP and nginx app definition cp ${SOURCE_DIR}/seeddms/etc/php/7.0/fpm/pool.d/seeddms.conf /etc/php/7.0/fpm/pool.d/seeddms.conf diff --git a/seeddms/etc/php/7.0/fpm/pool.d/seeddms.conf b/seeddms/etc/php/7.0/fpm/pool.d/seeddms.conf index 24bb4e8..d39d792 100644 --- a/seeddms/etc/php/7.0/fpm/pool.d/seeddms.conf +++ b/seeddms/etc/php/7.0/fpm/pool.d/seeddms.conf @@ -9,7 +9,7 @@ listen.group = www-data pm = ondemand pm.max_children = 8 -php_admin_value[open_basedir] = /srv/seeddms:/tmp:/tmp:/usr/share/php +php_admin_value[open_basedir] = /srv/seeddms:/tmp:/usr/share/php php_admin_value[upload_max_filesize] = 100M env[LANG]=en_US.UTF-8