So, I have an application that uses CouchDB as a backend. Couch doesn't really have a security / user model, and by default, anyone can do anything (including deleting records and even the entire database). But, if we restrict access only to GET requests, we are much safer.
I was hoping I could port nginx to the front as a reverse proxy, but I cannot find an option that allows me to filter requests based on the verb that comes in. The pound does this, so Iām thinking about going this route, but we are already using nginx extensively, and it would be nice not to add new technology to the mix. Does anyone know if there is an option that will allow this to happen?
I would even agree on the mod_proxy option in Apache. Any ideas?
rest couchdb proxy nginx
Rob cameron
source share