Search code examples
nosqlcouchdbcouchdb-futon

Accessing couchdb futon thru https


I've got a problem accessing futon interface when it is proxied using nginx. This config works fine when http protocol is used, but when I try to use https, I constantly receive no_db_file errors (but operations succeed, e.g. I can create databases, insert values, etc.)

location / {
   proxy_pass http://127.0.0.1:5984;
}

What can I do to make it work correctly using https protocol?


Solution

  • I have used Apache proxying to proxy https to http to do https on CouchDB: http://wiki.apache.org/couchdb/Apache_As_a_Reverse_Proxy

    I have found that a trailing slash on the URL affects whether or not https proxying works. Maybe it affects Nginx the same way?