Recipe OSS: How to implement CORS rules? (Alibaba Cloud)

OSS supports CORS (Cross-Origin Resource Sharing) to allow cross access. To configure it, you have to create rules (10 maximum).

If you are using CDN with OSS, you need to configure the CORS rules in CDN.

To configure CORS rules:

  • Go to the OSS console,
  • Click on Buckets,
  • Click on the bucket name,
  • Click on Access Control | Cross-Origin Resource Sharing (CORS),
  • Click on Configure,

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store