could nginx support the socket backend server(in different machines) ?

Cliff Wells cliff at
Tue Nov 10 21:46:17 MSK 2009

Unix domain sockets are *not* network sockets:

They work on localhost only.   You will need to use HTTP proxying or

Probably what you want to do is run an Nginx instance on each backend
server to communicate over the local socket to your app and then proxy
to those Nginx instances from your main Nginx instance over HTTP.


On Tue, 2009-11-10 at 05:19 -0500, wangbin579 wrote:
> for several reasons,the backend servers are socket backend servers,and  nginx seems only support unix socket and http backend server.
> is any way to achieve that?
> thanks
> Posted at Nginx Forum:,21767,21767#msg-21767

More information about the nginx mailing list