I am using nopcommerce 2.60 where the settings of SSL are in Web.config
(with .net version 4.6.2,IIS 10 in my shared hosting)
Firstly I changed the <add key="UseSSL" value="true" />
SSL/TLS support is on on my shared hosting enviroment
and I have a Let's Encrypt SSL certificate installed on the server.
When I include the following rule I am having TOO MANY REDIRECTS
<system.webServer>
<rewrite>
<rules>
<rule name="Redirect to HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
Is the rule wrong or nopcommerce 2.60 needs an additional setting for redirecting to HTTPS ?