Local Cdn Configuration

Is it possible to extend CDN so its possible to use “local CDN”



// CDN server backend (in config.local.php)

$config['cdn_backend'] = 'custom'; // from cloudfront to custom



So in Admin > Storage > CDN Settings



Provider: Custom

Only one field “CNAME” ie: static.mydomain.com



No filesynk or anything else… only change 'cname' in frontend for static files… (same as Amazon)



(I guess it's only one file or so to add to get this work)



/gert

Why? If you're not going to distribute content, why try to make it look like you are?

[quote name='tbirnseth' timestamp='1405889235' post='187866']

Why? If you're not going to distribute content, why try to make it look like you are?

[/quote]



I would like to serve static from other server, I'll keep files updated by rsync.

[quote name=‘tbirnseth’ timestamp=‘1405889235’ post=‘187866’]

Why? If you’re not going to distribute content, why try to make it look like you are?

[/quote]



CDN was perhaps a poor choice of word, the point was that I need a separate domain name for static files :-)

Only solution then would be to use a rewrite rule to address imagery/files in specific directories.