I need to redirect all traffic from http://mydomain.com to ?
What is the right way to do this in nginx?
Does this do the trick?
rewrite ^/(.*) https://www.mydomain.com/$1 permanent;
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago