I have an asp.net website running on IIS7 configured long ago. There appears to be a 302 redirection in place redirecting all requests over HTTPS to HTTP instead. I would like to remove this redirect so we can serve the site over HTTPS.
Specifically, when testing with curl, requesting any page "https://WebSite.com/SomeThing" redirects to "http://website.com/something" (insecure, case not maintained). The only request that is not redirected to HTTP is the bare domain, which goes to Default.aspx before redirecting to HTTP. Some examples:
https://www.website.com -302-> Default.aspx
https://www.website.com/Default.aspx -302-> http://www.website.com/default.aspx
https://website.com/Default.aspx -302-> http://website.com/default.aspx
https://website.com/ABOUTUS.aspx -302-> http://website.com/aboutus.aspx
I can't figure out where this redirect is configured. In IIS Manager, I've checked the "HTTP Redirect" module (not enabled), the "URL Rewrite" module (not installed), and the SSL Settings ("Require SSL" is NOT set). I've searched the contents of all *.aspx files in the web root for "redirect" or "rewrite", and not found anything. Ditto for web.config.
Where else could this redirect be hiding? Host is Windows Server 2008 R2 running within an Azure VM.