redirect to another domain based on IP address

ender ulusoy enderulusoy at gmail.com
Mon May 6 13:47:34 UTC 2019


Main office ip 200.100.50.10

And it's shared office. I can not setup any dns services there. All the
developers come from this ip.

On Mon, May 6, 2019, 4:45 PM Patrick <201904-nginx at jslf.app> wrote:

> On 2019-05-06 16:18, ender ulusoy wrote:
> > @Patrick Thanks, here is the config I have (short version)
>
> Ok, now you need to know the IPs that the main office uses for outbound
> HTTP requests.
>
> However, it seems unlikely that *everyone* at the main office wants to
> be on staging. You're probably better off setting up split-horizon DNS
> at the main office and forcing staging on only the people who volunteer
> to be on staging.
>
> Though if devs flip back and forth between environments, it's probably
> worthwhile to show them how to edit their local machine's hosts file.
>
>
> Patrick
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20190506/afa2ac25/attachment.html>


More information about the nginx mailing list