CDN service

Post Reply
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

CDN service

Post by happydg »

Hello,

I use a cdn service with its own ftp. How can i host thumbs on this cdn ftp which is different than the server i host scj.

Thank you.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: CDN service

Post by admin »

Change settings for grabber ?
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: CDN service

Post by happydg »

Thank you. And how to do it for toplist thumbs?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: CDN service

Post by admin »

The only way to copy toplist thumbs is setup rsync for example. There's no build-in feature for this.
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: CDN service

Post by happydg »

I imported galleries before setting up the cdn so i had to add http://cdn.domain.com/ <!--THUMB_URL--> to the subtemplates.

Then i set up the remote ftp for the cdn and it worked. But the problem is new thumbs urls are already with http://cdn.domain.com/ when grabbed + http://cdn.domain.com/ urls in subtemplates. So new thumbs urls are for example:

http://cdn.domain.com/http://cdn.domain ... d_with.jpg

Thank you.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: CDN service

Post by admin »

Add cdn.domain.com to alt hosts in rotation - settings.
Don't forget to run script update
Post Reply