-1

what is the right way to redirect all http://domain traffic to https://www.domain for magento 2 on nginx and varnish server?

-1

Varnish is just caching and it doesn't affect the redirecting. To force www on Nginx check: https://stackoverflow.com/questions/32486739/force-www-and-https-in-nginx-conf-ssl?answertab=votes#tab-top

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.