CORS in Cloud CDN
Written by
Updated at January 22, 2026
Yandex Cloud CDN supports cross-domain requests
In the resource settings, you can:
- Allow CORS requests with any origins (the
Originheader values): Set theAccess-Control-Allow-Originheader to*or to theOriginheader’s value in the request. - Allow CORS requests for specific origins: Set the
Access-Control-Allow-Originheader to the value of theOriginheader in the request, but only if it is listed as allowed in the settings. - Deny CORS requests: Disable adding the
Access-Control-Allow-Originheader to responses.
CORS settings apply to all files of the resource.
Note
To make sure cross-domain requests are enabled, additionally set up CORS on a source if the source supports this mechanism. For example, CORS configuration is required for Object Storage buckets.