Open_basedir restriction in effect

Tried to test Elgg 4 beta on a subdomain, weasel, but, on the installation part I get this error regarding data directory I created for it outside public_html, as specified.

Warning: is_dir(): open_basedir restriction in effect. File(/home/admin/web/weasel.mywebsite/data) is not within the allowed path(s): (/home/admin/web/weasel.mywebsite/public_html:/home/admin/web/weasel.mywebsite/private:/home/admin/web/weasel.mywebsite/public_shtml:/home/admin/tmp:/var/www/html:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/phppgadmin:/etc/roundcube:/var/lib/roundcube:/tmp:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt) in /home/admin/web/weasel.mywebsite/public_html/vendor/elgg/elgg/engine/classes/ElggInstaller.php on line 1167

Googling it found some info on this matter, but for Apache and I am using Ubuntu 18 with Nginx( php 7.4).

Thank you for any help.