azure-cdn

How to stop index.html being cached by Azure CDN

断了今生、忘了曾经 提交于 2021-01-29 16:22:41
问题 I am using Azure CDN to host a static website I am building. It's great, other than the fact that when I update my web app the old page is cached and so still shown. I have added the following Cache rule in the rules engine to put it to refresh every 60 seconds, however this does nothing and I still get the old content, the only way to get the new content is to go to an incognito browser. Anyone have any ideas it's driving me crazy! Here is a screenshot of the browser dev window when I hit

Azure CDN Premium Verizon Rules Engine V4 URL Rewrite for Storage Static Website sub directories

核能气质少年 提交于 2021-01-27 07:52:50
问题 I'm trying to host an Angular project with Azure Storage Static Website through Azure CDN Verizon Premium Let's say i have containers for each Angular builds named like v0.3.13.3 and in that container there are also multi language builds of angular project. What i'm trying to achieve is to serve the right index.html with correct routing for each version and language. You may find example routes below: my.domain.com/v0.3.13.3 should serve /v0.3.13.3/index.html my.domain.com/v0.3.13.3/dashboard

Enforce HTTP to HTTPS in Azure Premium Verizon CDN

安稳与你 提交于 2021-01-01 13:54:22
问题 I have followed this link to convert all the HTTP endpoints to HTTPS. However, it uses an option called IF Request Protocol; THEN URL Redirect Request Protocol is not available(I cannot see) in the CDN profile that I am trying to configure. I have attached a screenshot of the rule creation phase below. Question 1 Where can I find the Request Protocol option on the CDN Config page? Question 2 If Request Protocol is deprecated(or no longer available), how can I perform the mentioned task? 回答1:

Enforce HTTP to HTTPS in Azure Premium Verizon CDN

久未见 提交于 2021-01-01 13:52:41
问题 I have followed this link to convert all the HTTP endpoints to HTTPS. However, it uses an option called IF Request Protocol; THEN URL Redirect Request Protocol is not available(I cannot see) in the CDN profile that I am trying to configure. I have attached a screenshot of the rule creation phase below. Question 1 Where can I find the Request Protocol option on the CDN Config page? Question 2 If Request Protocol is deprecated(or no longer available), how can I perform the mentioned task? 回答1:

Azure CDN using root domain solution

醉酒当歌 提交于 2020-12-05 07:13:24
问题 I have a concern with our CDN as we are planning to apply custom domain. I understand the part that it is not possible to map a CNAME record to a root domain, such as contoso.com. I want to ask for a workaround, let us say yes we already assigned it to www.contoso.com. But people now adays do not use the www subdomain anymore and will just type constoso.com in the URL address bar and therefore it will just return a 404 because it is not mapped making as lose potential customers. What is your

How to register your Azure resource as an Application in Azure Active Directory?

生来就可爱ヽ(ⅴ<●) 提交于 2020-06-16 18:00:30
问题 I have an Azure CDN. It has a custom domain, and I attempting to register my own certificate for HTTPS support. I am attempting to follow the instructions here: https://docs.microsoft.com/en-us/azure/cdn/cdn-custom-ssl?tabs=option-2-enable-https-with-your-own-certificate I have uploaded my Certificate to a Key Vault. That should be good. I am now trying grant my Azure CDN Profile access to my Key Vault in order for it to get the certificate. That is this step in the tutorial (Register Azure

Azure CDN (Verizon) custom rewrite rule invalid origin

℡╲_俬逩灬. 提交于 2020-06-12 08:48:02
问题 I am trying to update 2 rules in Azure CDN Management (Verizon) Recently they update to V4 and the prefix source is no longer coming on the field Rule 1 -> If http redirect to https Rule 2 -> If url is empty (only root) serve default document index.html The new rules engine is unable to identify the Source I already try Leaving it blank www.[mydomain].com [mydomain].com / The old version had the CDN Verizon id hardcoded on the field, maybe this what is missing? how can I find this? 回答1:

Azure CDN (Verizon) custom rewrite rule invalid origin

爷,独闯天下 提交于 2020-06-12 08:47:37
问题 I am trying to update 2 rules in Azure CDN Management (Verizon) Recently they update to V4 and the prefix source is no longer coming on the field Rule 1 -> If http redirect to https Rule 2 -> If url is empty (only root) serve default document index.html The new rules engine is unable to identify the Source I already try Leaving it blank www.[mydomain].com [mydomain].com / The old version had the CDN Verizon id hardcoded on the field, maybe this what is missing? how can I find this? 回答1: