Azure CDN from Verizon Premium HTTP to HTTPS redirect

Azure CDN from Verizon Premium HTTP to HTTPS redirect - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Azure CDN from Verizon Premium HTTP to HTTPS redirect error on your web browser. Problem :


I have created an Azure CDN endpoint (like example.azureedge.net) using Verizon Premium Pricing Tier.


I want to create a rule to redirect to the HTTPS protocol (like https://example.azureedge.net) whenever a user uses the HTTP protocol (like http://example.azureedge.net).


How can I achieve this using the rules engine of Azure CDN from Verizon Premium?


Solution :

The Medium article that Steve linked seems to have the answer. To quote the main steps:




  1. From the Azure Portal, Select the CDN profile



  2. Click on Manage to open the configuration page



  3. From the HTTP Large menu, select Rules Engine



  4. Update the Name / Description i.e. HTTP to HTTPS redirect



  5. Change the Always dropdown menu to Request Scheme



  6. Click the Features+ button and select URL Redirect



  7. Within the pattern text field enter (.*)



  8. In the Destination text field enter https://%host/$1



  9. Click Add





We hope that this article has helped you resolve the redirects, https, cdn error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How do I redirect traffic only if being accessed from a specific port?

DNS entry to redirect constant url to changing directory name

How to redirect to any domain [duplicate]