2

I need to redirect all traffic from http://mydomain.com to ?

What is the right way to do this in nginx?

1 Answers1

4

Does this do the trick?

rewrite ^/(.*) https://www.mydomain.com/$1 permanent;
Andy
  • 5,190
  • 23
  • 34