Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud CDN
  • Getting started
    • Service overview
    • Resource
    • Origins and origin groups
      • Overview
      • TLS certificates
      • CORS
      • Content compression
    • Redirecting requests
    • Content caching
    • Secure tokens
    • IP-based access policy
    • Log export
    • Labels
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting
  1. Concepts
  2. Exchanging data between clients and the CDN
  3. CORS

CORS in Cloud CDN

Written by
Yandex Cloud
Updated at January 11, 2024

Yandex Cloud CDN supports CORS requests.

In the resource settings, you can:

  • Allow CORS requests with any origins (the Origin header values): Select for the Access-Control-Allow-Origin header, the * value or use the same value as in the Origin header in the request.
  • Allow CORS requests for specific origins: Select for the Access-Control-Allow-Origin header the same value as in the Origin header in the request, but only if it's listed as allowed in the settings.
  • Prohibit CORS requests: Disable adding the Access-Control-Allow-Origin header to the responses.

CORS settings apply to all files of the resource.

Note

To make sure cross-domain requests work correctly, additionally set up CORS on a source if the source supports this mechanism. For example, CORS configuration is required for Object Storage buckets.

See also

  • Instructions for configuring CORS.

Was the article helpful?

Previous
TLS certificates
Next
Content compression
© 2025 Direct Cursus Technology L.L.C.