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

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


Unix domain sockets are *not* network sockets:

http://en.wikipedia.org/wiki/Unix_domain_socket

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

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.

Cliff

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: http://forum.nginx.org/read.php?2,21767,21767#msg-21767
> 
> 
-- 
http://www.google.com/search?q=vonage+sucks






More information about the nginx mailing list