2

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

What is the right way to do this in nginx?

4

Does this do the trick?

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy