Errors. Has been blocked by CORS policy

First of all thanks for reading me, my question is why do I receive these errors? I gave the headers in the nginx config docs and they still show up, or what am I doing wrong?

these are my config files:
I edited only these 3, according to a tutorial I saw for the installation and putting the ssl:

→ this is not edited:

curl -I url
an apology if it’s something I’m doing wrong, I’m new to ngix and the ssl issue

sorry for the image but attach everything in one because it won’t let me upload more than one