Welcome! Log In Create A New Profile

Advanced

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

November 10, 2009 01:52PM
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
Subject Author Posted

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

wangbin579 November 10, 2009 05:19AM

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

Kiswono Prayogo November 10, 2009 05:42AM

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

Kiswono Prayogo November 10, 2009 05:42AM

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

张立冰 November 10, 2009 07:10AM

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

Cliff Wells November 10, 2009 01:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 262
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready