diff --git a/01-basic.sh b/01-basic.sh index e68cb7c..30a88c8 100755 --- a/01-basic.sh +++ b/01-basic.sh @@ -83,9 +83,8 @@ chmod 640 /etc/ssl/private/services.key # Modify default nginx site mkdir /etc/nginx/apps-available /etc/nginx/apps-enabled -mkdir /srv/portal cp ${SOURCE_DIR}/basic/etc/nginx/sites-available/default /etc/nginx/sites-available/default -cp ${SOURCE_DIR}/basic/srv/portal/index.html /srv/portal/index.html +cp -r ${SOURCE_DIR}/basic/srv/portal /srv/portal chown -R www-data:www-data /srv/portal # Restart