If you follow that tutorial by blindly copy those config files, it is time you read a bit about what you had pasted. Focus on lines that involve /var/www/html <-> /var/www/html/nextcloud should be enough.
One more step ahead, for letsencrypt to auto renew, you need to update the conf file in /etc/letsencrypt/renewal/ for the same “path issue” as well.