You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2010/09/07 14:04:42 UTC

[Couchdb Wiki] Update of "Replication" by StuartLangridge

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Replication" page has been changed by StuartLangridge.
The comment on this change is: Add note about proxy support.
http://wiki.apache.org/couchdb/Replication?action=diff&rev1=21&rev2=22

--------------------------------------------------

  {"source":"http://example.org/example-database","target":"http://admin:password@127.0.0.1:5984/example-database", "filter":"myddoc/myfilter", "query_params": {"key":"value"}}
  }}}
  
+ == 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":"http://example.org/example-database", "proxy":"http://localhost:8888"}
+ }}}
+ 
+ Note that https proxies are in theory supported but do not work in 1.0.1.
+ 
  See also: 
   * [[Replication_and_conflicts|Replication and conflicts]]
   * [[How_to_design_for_replication|How to design for replication]]