incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirsal Ennaime <mirsal.enna...@gmail.com>
Subject Re: How I "glue" together Rails and couchDB ?
Date Mon, 05 Apr 2010 09:38:49 GMT
On Mon, Apr 5, 2010 at 5:13 AM, Audrey Lee <audrey.lee.is.me@gmail.com> wrote:
> Hello couchDB People,

Hey !

> I'd like to configure couchDB (or Rails) so that I have a server which
> listens on 8080.
> I want any request directed at:
>  http://localhost:8080/rails/
> to be forwarded to
>  http://localhost:3000/rails/
> And I want all other requests to be forwarded to
>  http://localhost:5984/

You have probably already set up lighttpd / nginx / whatever to serve
your rails app (and if you didn't, you should)
You can also use it as a reverse proxy to forward traffic to the right app.
-- 
Mirsal

Mime
View raw message