redirect to another domain based on IP address

ender ulusoy enderulusoy at gmail.com
Mon May 6 09:10:26 UTC 2019


Hi Folks,

We have a website under heavily development. So we divide the site to 3
branches stage, demo and main. What our developers want from me is : "every
request from office ip address to main domain must redirect to stage."

For an example if a developer makes a request to www.aaa.com then simply
it'll redirect all requests to stage.aaa.com if the request send from
office ip address. How can achieve that?

Thank you.

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20190506/49cba906/attachment.html>


More information about the nginx mailing list