Answer the question
In order to leave comments, you need to log in
How to set up redirect in nginx when migrating to another server?
Hello.
I'm moving the site to another server, how to configure nginx on the old server so that it redirects to a new ip?
Pointed proxy_pass to a new ip, but this was not enough
Answer the question
In order to leave comments, you need to log in
proxy_pass is not a redirect. redirect is rewrite
what goal do you want to achieve?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question