HTTP Proxy Support for replication #74

mujhs opened this Issue Oct 7, 2011 · 1 comment


None yet

2 participants


Does the current API support replication through an http proxy? Looking through the source it does not look that way.


Replicating through a proxy

Pass a "proxy" argument in the replication data to have replication go through an HTTP proxy:

POST /_replicate HTTP/1.1
{"source":"example-database","target":"", "proxy":"http://localhost:8888"}

CouchRest member

This isn't supported in the CouchRest API, but my recommendation would be to create documents directly in the replicator database which will give you much more control with this type of advanced requirement:

doc = {
  "source" => "example-database",
  "target"  => "",
  "proxy"  => "http://localhost:8888"
db =!('_replicator')
db.save_doc(doc)  # Replication should start automatically
@samlown samlown closed this Jul 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment