LiteSpeed/Apache CORS with CDN
Written by:
Will Kruss
on
13 January 2020 09:41 AM
|
|
To allow the EdgePort CDN integration with the Cloudlets/Jelastic platform if running a .htaccess based webserver such as Litespeed or Apache, you need to enable the CORS policy in the root .htaccess on the site. The easiest entry is: ################ <IfModule mod_headers.c>
You can also provide a slightly more secure CORS policy by specifying the origin domain e.g.
| |
|