CMS Made Simple Forums
https://forum.cmsmadesimple.org/

Specifying an Uploads CDN URL?
https://forum.cmsmadesimple.org/viewtopic.php?f=8&t=76614
Page 1 of 1

Author:  rbaby [ Thu May 18, 2017 6:33 am ]
Post subject:  Specifying an Uploads CDN URL?  Topic is solved

Is there a way to specify a different uploads root url? All my uploads are configured to upload the assets automatically to a CDN and instead of referencing all the assets locally, I'd like to have it automatically reference the CDN location.

Instead of: /uploads/images/image.jpg it would automatically be:
http://cdndomain.com/uploads/images/image.jpg

Right now I'm specifying the absolute reference, I'm wondering if there is an easier method.

Thank you.

Author:  DIGI3 [ Fri May 19, 2017 4:25 pm ]
Post subject:  Re: Specifying an Uploads CDN URL?

You can do it in the config.php (see https://docs.cmsmadesimple.org/configur ... ploads_url )

Author:  rbaby [ Sun May 21, 2017 8:39 pm ]
Post subject:  Re: Specifying an Uploads CDN URL?

Thank you, I will try it!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/