If you run n8n with docker then there will just be n8n and no proxy.
If you use run n8n as described in our Server Setup Guide then there will be a proxy in front of it. In this case traefik.
About your CORS issue. Did you try to make a request with curl to see if the Access Control Allow Header gets returned correctly? What value did you set?
Here an earlier discussion about CORS: