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:
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:
no, your statement was wrong, using fastcgi, you can use network socket
(eg.
using spawn-fcgi)
some example:
http://wiki.nginx.org/NginxV8cgi
sorry, to quickly pressing the send button ^^
just put the fastcgi server on another machineā¦
Unix domain sockets are not network sockets:
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
You should have a look at memcache module.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs