cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.1 - SSL installed causes login page loop redirects

Magento 2.1 - SSL installed causes login page loop redirects

After installed https: with a SSL certificate, the login page always causes redirect loop:

https://mydomain.com/customer/account/login/

ERR_TOO_MANY_REDIRECTS

All the pages are working ok. 

 

In my configuration, I have this trick (viewed in a forum):

 

Base URLs

Add Store Code to Urls: NO

Auto-redirect to Base URL: NO

Base URL: //mydomain.com

Base Link URL: //mydomain.com

 

Base URLs (Secure)

Secure Base URL: 

https://mydomain.com

Secure Base Link URL: 

https://mydomain.com

Use Secure URLs on Storefront: YES

Use Secure URLs in Admin: NO

Use Secure URLs on Storefront: YES

Enable HTTP Strict Transport Security (HSTS): YES
Upgrade Insecure Requests: NO

Offloader header: SSL-OFFLOADED

 

Default Cookie Settings
Use HTTP Only: Yes

 

 

Thanks!

 

 

 

2 REPLIES 2

Re: Magento 2.1 - SSL installed causes login page loop redirects

 any answer to this?

Re: Magento 2.1 - SSL installed causes login page loop redirects

Hi, are you using apache? Nginx? Varnish?

Maybe there is a misconfiguration in your webserver.