ERR_TOO_MANY_REDIRECTS while using proxy

9 个月 前
Hi,
I am trying to use Nopcommerce 4.3 on an ubuntu server with nginx setup as the reverse proxy.
I have setup the store by using the settings below

Store Url: http://myurl.com
SSL Enabled: False
Host Values: myurl.com, www.myurl.com

And i have setup my nginx to redirect all http traffic to https.

I can currently browse the site by going to http, it will automatically get redirected to https. and of course going to https directly also works.

But the challenge is all the images and media files generated by Nopcommerce all use http links, which is insecure.

If i enable SSL ENabled for the store, then i start getting ERR_TOO_MANY_REDIRECTS and the site doesnt work any longer.

Please how can i get around this? As i want every resource to also be https
1 个月 前
I have a solution, please refer my reply in this post:
https://www.nopcommerce.com/en/boards/topic/84534/nop43-does-not-redirect-all-pages-to-https#278197