Answer the question
In order to leave comments, you need to log in
What is better to use to redirect to https on nginx for opencart?
What is better to use to redirect to https on nginx for opencart?
if ($scheme != "https") {
rewrite ^ https://$host$uri permanent;
}
location / {
rewrite ^/(.*)$ https://$host/$1 permanent;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question