Public
http(s)://<bucket-name>.<location>.cloud.gcore.lu
. More details in the “Request content directly from the Object Storage” section below.4. Specify custom domain, e.g., cdn.example.com. Read more about the personal domain setup in the “Create and set a custom domain for the content delivery via CDN” guide.Private
<storage name>.<hostname>
Both name and hostname can be found on the Storage tab > Storages > Details.
<bucket-name>.<location>.cloud.gcore.lu
allows you to increase the security of your CDN usage because you hide the Hostname of your repository.
Use the following schema to request uploaded files:
http(s)://<Custom domain>/<folder*>/<file>
*If the folder was created in the bucket. If files were added to the root of the bucket - specify file names.
For example, you’ve:
http://cdn.example.com/picture.png
Note : By default, created buckets and all the stored files in buckets are private. To make a file public, read the article on ACL and policy or official documentation.
sftp://12345-test@ams.origin.gcdn.co:2200/export/home/12345-test/htdocs/picture.png
If the CDN Custom domain is cdn.example.com, the URL to request the file from CDN will be:
http://cdn.example.com/picture.png