Skip to content

How to redirect all new PUT /db/doc REST calls to updates handler? #5496

Answered by benel
fangq asked this question in General
Discussion options

You must be logged in to vote

Hi @fangq.

Disclaimer: I'm a mere user. Nothing authoritative here.

You could check the documentation of CouchDB _rewrite API. But please note that this feature is deprecated and will be removed in CouchDB 4.

A more "lasting" option would be to put this rewrite rule into your reverse proxy setting. A section in CouchDB documentation is dedicated to reverse proxies.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by fangq
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants