Small nginx configuration in front of couchdb
- Url rewriting for pretty website hierarchy
- Basic authentication on private databases
/{db}>/{db}/_design/index/index.html/{db}/{endpoint}>/{db}/_design/{endpoint}/index.html/{db}/{doc}/{endpoint}>/{db}/_design/{doc}/{endpoint}.html/{db}/{file.ext}> `/{db}/_design/index/{file.ext}·/{db}/{endpoint}/.../{file.ext}>/{db}/_design/{endpoint}/{file.ext}
All requests on /api are passed to couchdb directly