Redirect all HTTP to HTTPS in IIS
create a host wide redirect using IIS Manager. Select URL Rewrite, Add Rule(s)…, and Blank rule. Name:Redirect to HTTPS Match URLRequested URL: Matches the PatternUsing: WildcardsPattern: *Ignore case: Checked ConditionsLogical grouping: Match AnyCondition input: {HTTPS}Check if input string: Matches the PatternPattern: OFFIgnore case: CheckedTrack capture groups across conditions: Not checked Server VariablesLeave blank. ActionAction type: RedirectRedirect URL: https://{HTTP_HOST}{REQUEST_URI}Append query string: Not checkedRedirect type: Permanent (301) Apply the rule and run IISReset (or … Read more