our apache.conf file looks like this in order to allow hosting assests on cdn
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted Header Set Access-Control-Allow-Origin "https://cdnurl.com/" Header Set Access-Control-Allow-Methods: GET </Directory>
when we did
curl -I https://ourdomain.com terminal show this
HTTP/1.1 200 OK Date: Wed, 20 Apr 2016 13:01:15 GMT Server: Apache Set-Cookie: cookie=value; expires=Wed, 20-Apr-2016 15:01:15 GMT; Max-Age=7200; path=/; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Access-Control-Allow-Origin: https://cdnurl.com/ Access-Control-Allow-Methods: GET Content-Type: text/html; charset=UTF-8
but for some reason we are unable to serve font files from our cdn url.
Any reason what is going wrong ?
PS we are using azure cdn, hence it is not possible to enable from the portal.