Redirecting to HTTPS when using IIS behind a load balancer
A short article on using IIS URL rewriting to force insecure HTTP requests to HTTPS when behind a load balancer that is configured to terminate the secure connection, including support for excluding LetsEncrypt challenge requests.