CORS Problems Apache_Nginx

Hello Everyone

I have a problem with my both 2 subdomain i get this error

Access to XMLHttpRequest at '' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.   

Server INFO
Ubuntu 22.04 x64
Cdn Cloudflare Free Version already disable the proxy and use only for dns