GitHub user benel added a comment to the discussion: How to redirect all new 
PUT /db/doc REST calls to updates handler?

Hi @fangq. 

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

You could check the [documentation of CouchDB `_rewrite` 
API](https://docs.couchdb.org/en/stable/api/ddoc/rewrites.html). 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](https://docs.couchdb.org/en/stable/best-practices/reverse-proxies.html).

GitHub link: 
https://github.com/apache/couchdb/discussions/5496#discussioncomment-12679543

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]

Reply via email to