How setup proxy to glue couchDB to Rails?
gojpeg at gmail.com
Mon Apr 5 08:59:15 MSD 2010
On 05.04.2010, at 7:07, Audrey Lee <audrey.lee.is.me at gmail.com> wrote:
> Hello nginx people,
> Is it possible to use nginx to "glue" 2 types of servers into one?
> I have a rails server running here:
> And I have a couchDB server running here:
> I'd like to configure nginx so that it listens on 8080
> I want any request directed at:
> to be forwarded to
> And I want all other requests to be forwarded to
> Have any of you done something like this?
Yes. A lot and every day ;)
You should check this:
google: proxy_pass site:nginx.org
> Is nginx well suited for this or should I be learning about a true
> proxy like squid or varnish?
Yes nginx is a fully powered reverse proxy. IMHO the best available
More information about the nginx