nginx: [emerg] unexpected end of file, expecting ";" or "}" in
he problem is in /etc/nginx/conf.d/vesta.conf
There is probably a apache.conf line and you need to remove it and problem solved.
https://forum.vestacp.com/viewtopic.php?t=5352
https://forum.vestacp.com/viewtopic.php?t=6213
=====
Error: Database connection to localhost failed
>> the mean: reset root passwd
https://forum.vestacp.com/viewtopic.php?t=5195
=====
phpmyadmin can't login
nano /usr/local/vesta/conf/mysql.conf see root passwd
http://ljasonh.com/find-and-change-vestacp-mysql-root-password/