What you describe is by design the job of firewalls... in your case dropping unwanted connections rather that rejecting them.
1 tool = 1 task --- *B. R.* On Fri, Jun 13, 2014 at 4:14 PM, 姚锟 <[email protected]> wrote: > Hi Buddy, > I am a newer to Nginx world, now I have a project to link the varnish HTTP > server and nginx together, nginx is the back end. > > I want to allow the connections only by varnish, so I use deny all ,this > kind of stuff to archieve this. > > But if there is a way to compeletely forbid the connections, at present, > even the outside connections is forbidden, but I think it still waste some > resourses, "RETURN A 403 STATIC PAGE".. > > I will not use a iptables.. > > > Thank you everyone !!!!!! > > I would appreciate very much.. > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
