HTTP to https redirection is not working RRS feed

  • Question

  •  I am trying to redirect my site from http to https at azure server (cloud service). I have added redirect rule in web cofig but its not working. I was seaching the extension for http to https in cloudservice what its not there. Could you please suggest how can I do this

    I have added following in web config :

              <rule name="Redirect to HTTPS">
                <match url="(.*)" />
                  <add input="{HTTPS}" pattern="off" ignoreCase="true" />
                  <add input="{URL}" pattern="/$" negate="true" />
                  <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <action type="Redirect" url="https://{SERVER_NAME}/{R:1}" redirectType="SeeOther" />

    Can I handle it from azure portal 

    Friday, December 14, 2018 4:36 AM

All replies