If I type in example.com it redirects to https://example.com as I want to. However when typing http://example.com/blog it still redirects to https://example.com
<rewrite>
<rules>
<clear/>
<rule name="Force HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true"/>
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="false" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
How can I make it add https to whatever the user wrote?