Origin URL prefix
Using a single origin server for your files
Last updated
Using a single origin server for your files
Last updated
Copyright © 2023 Scaleflex
To make your Cloudimage URLs shorter and improve SEO, you can configure an origin prefix. For example, if your images are stored at the URL https://hello.s3.aws.com/
, you can set up prefix URL:
When you use:
//token.cloudimg.io/photos/paris.jpg?width=800
Cloudimage will search the origin image at the URL:
//hello.s3.aws.com/photos/paris.jpg
By using the origin prefix, you can avoid exposing the URL of your media to users.
The Origin URL prefix will apply to all Cloudimage transformations for your token. Make sure that all your origin images are served from the Origin URL prefix domain. Should you have multiple source domains, then please use aliases instead.
If your origin server needs authentication, please refer to the Connecting storage bucket section.