only allow traffic from specific servers

Francis Daly francis at
Thu Feb 14 12:12:20 UTC 2013

On Thu, Feb 14, 2013 at 05:55:47AM -0500, mottwsc wrote:

Hi there,

> When the user clicks on the sign in button on
> the OUTSIDE Server, the user will be redirected to App Server 1.

> (1) I want to only allow App Server 1 to accept traffic coming from either
> OUTSIDE Server or App Server 2. Even if the user had bookmarked App Server
> 1, they will need to go back thru OUTSIDE Server to sign in.  How do I do
> this with NGINX?

If you use nginx to redirect to the app servers, what you seem to want
can't be done.

If you use nginx to proxy_pass to the app servers, what you seem to want
can be done. But doing it is unrelated to nginx. Look at the configuration
of the app servers and/or the network devices protecting them.

Francis Daly        francis at

More information about the nginx mailing list