Roundcube Community Forum

 

Change / Setup Roundcube CDN

Started by drosanda, March 01, 2021, 08:39:57 PM

Previous topic - Next topic

drosanda

Hi All,

Short story I have webmail on:
- https://webmail.example.com

and active cdn url
- https://cdnwebmail.example.com

When I see the html codes from the web
- <link rel="stylesheet" type="text/css" href="skins/larry/styles.min.css?s=1532894688" />

So, Can I setup Roundcube assets (JS/CSS) through CDN? like this
- <link rel="stylesheet" type="text/css" href="https://webmail.example.com/skins/larry/styles.min.css?s=1532894688" />

Btw, i can do little codes in php ;)


alec


// Allows to define separate server/path for image/js/css files
// Warning: If the domain is different cross-domain access to some
// resources need to be allowed
// Sample:
//    <FilesMatch ".(eot|ttf|woff)">
//    Header set Access-Control-Allow-Origin "*"
//    </FilesMatch>
$config['assets_path'] = '';


drosanda

Hi Alec,

Thanks for your reply, it was run perfectly..

Thanks..   :D