Can help me for How To Redirect IP Reverse Proxy Nginx To New IP Nginx ? Thanks For your answer :)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
In order to do a redirect to another IP address, all you need to do is add a simple snippet of code in your Nginx config file:
Alternatively, if you want to redirect as reverse proxy (to another port), what you can do is
So, first you’ll need to change domain.com with your actual domain, 126.96.36.199 with the IP address you want to redirect it to as well as the port 41002 to your needs.