couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hall <ben200...@googlemail.com>
Subject Re: How I "glue" together Rails and couchDB ?
Date Mon, 05 Apr 2010 10:56:30 GMT
Sounds like you need a proxy setting in between your incoming requests
and webserver\couchdb.

I'm currently using HAProxy but nginx would also be a good choice.

On Mon, Apr 5, 2010 at 10:38 AM, Mirsal Ennaime
<mirsal.ennaime@gmail.com> wrote:
> 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