From 35581b9bea0114bf3bbdae44544442d5413e3fdc Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 14 Sep 2017 21:49:57 +0200 Subject: [PATCH] Copy whole portal directory --- 01-basic.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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