I have a website that I want to be only used with the WWW sub-domain and via HTTPS. I had an URL rewrite working for adding WWW. But now I also want to force a HTTP to HTTPS redirect. Just forcing HTTPS works as well, but when I can't really figure out how to combine the 2.
Can someone provide me with a working rule that redirects to https://www.domain.com in case the request is without WWW and/or via HTTP.