Rewrite Rule to IIS for HTTPS redirect to HTTP causes null HttpContext.Request.ContentType

前端 未结 1 1696
渐次进展
渐次进展 2021-01-29 04:33

I am using HTTPS redirect site extension for Azure which has an applicationhost.xdt like this:




        
相关标签:
1条回答
  • 2021-01-29 05:08

    Note that there is now a much simpler way of redirecting http traffic to https: under Custom domains, just set HTTPS Only to On. Then you don't need any site extension or xdt file.

    See this post for more info.

    0 讨论(0)
提交回复
热议问题