I want to have all my static files (css,js,images) on Azure CDN, I followed this tutorial:
I had in my app the following lines pointing to files in azure storage blob container:
<link href="https://stact1.blob.core.windows.net/cdn/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="https://stact1.blob.core.windows.net/cdn/Content/animate.css" rel="stylesheet" type="text/css" />
<link href="https://stact1.blob.core.windows.net/cdn/Content/style.css" rel="stylesheet" type="text/css" />
and my website renders perfectly fine http://screencast.com/t/6m9M2s4d
However according to the tutorial I should change the url to use the CDN. So I changed above to:
<link href="https://az780954.vo.msecnd.net/cdn/Content/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="https://az780954.vo.msecnd.net/cdn/Content/animate.css" rel="stylesheet" type="text/css" />
<link href="https://az780954.vo.msecnd.net/cdn/Content/style.css" rel="stylesheet" type="text/css" />
then everything is screwed up: http://screencast.com/t/NEM3sDQb
If I remove the https, I see no connections done on the network tab on developer tools, If I put https, I see 403 Errors.
The problem is HTTPS is enabled on the CDN http://screencast.com/t/RGvtj9uzq1