2

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

What is the right way to do this in nginx?

2

1 Answer 1

4

Does this do the trick?

rewrite ^/(.*) https://www.mydomain.com/$1 permanent; 

You must log in to answer this question.