Let's Encrypt SSL and NopCommerce 2.60 - TOO MANY REDIRECTS

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hello everybody

  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 ?
6 years ago
the login page is working but it is breaking the css. This is strange

Does anyone has a webconfig sample with an ssl rule to try for nopcommerce 2.60 ?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.