locked
Azure Cloud Service - HTTP to HTTPS RRS feed

  • Question

  • Hi

    We have multiple websites hosted in Azure as Cloud Service. All are only running on HTTPS and none of the website is accessible on HTTP.

    There is a recent requirement from business where they are asking to allow people to type the url on HTTP but they automatically gets redirected to HTTPS. Now I know you can achieve this doing some configuration in web.config of the websites but this would require re-deploying all with this change.

    I just wish to know what are my options here? You can configure some rules in load balancer for this but we are not using our custom load balancer for these cloud services.

    Thanks for the help.

    Piyush


    Piyush Gupta

    Thursday, July 3, 2014 3:16 PM

Answers

  • Hello

    I highly recommend the solution you already have at hand by updating web.config to include the URL Rewrite rules from HTTP to HTTPS.

    According to me it is not possible to configure the redirect within Azure itself.

    Friday, July 4, 2014 8:19 AM