diff --git a/setup/web.sh b/setup/web.sh index 8d015b1f..e5c29458 100755 --- a/setup/web.sh +++ b/setup/web.sh @@ -20,7 +20,7 @@ cp conf/nginx-ssl.conf /etc/nginx/nginx-ssl.conf # make a default homepage if [ -d $STORAGE_ROOT/www/static ]; then mv $STORAGE_ROOT/www/static $STORAGE_ROOT/www/default; fi # migration mkdir -p $STORAGE_ROOT/www/default -if [ ! -f STORAGE_ROOT/www/default/index.html ]; then +if [ ! -f $STORAGE_ROOT/www/default/index.html ]; then cp conf/www_default.html $STORAGE_ROOT/www/default/index.html fi chown -R $STORAGE_USER $STORAGE_ROOT/www