Welcome! Log In Create A New Profile

Advanced

How setup proxy to glue couchDB to Rails?

Audrey Lee
April 04, 2010 11:12PM
Hello nginx people,

Is it possible to use nginx to "glue" 2 types of servers into one?

I have a rails server running here:
http://localhost:3000/rails/

And I have a couchDB server running here:
http://localhost:5984/

I'd like to configure nginx so that it 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/

Have any of you done something like this?

Is nginx well suited for this or should I be learning about a true
proxy like squid or varnish?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How setup proxy to glue couchDB to Rails?

Audrey Lee April 04, 2010 11:12PM

Re: How setup proxy to glue couchDB to Rails?

Peter Leonov April 05, 2010 01:04AM

Re: How setup proxy to glue couchDB to Rails?

Cliff Wells April 05, 2010 01:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 157
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