That was not needed. You could have just repeated the instructions and tried installing that cert after you corrected your nginx config.
I saw your latest post which you now deleted. It has your nginx config as I had asked.
You have a server block listening on port 80 but it does not have a server_name. Certbot needs that to know which one to update. Just add that
Your server block would start with:
server {
# comments
listen 80;
server_name example.com;
location / {
... (and the rest)
Of course replace example.com with your actual domain name and restart nginx.
You also need to fix your DNS CNAME entry as I pointed out earlier. Requests for a new cert to replace the one you deleted will now fail until you fix that.