You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Rene Veerman <se...@gmail.com> on 2019/09/16 17:39:38 UTC

couchdb on multiple domains, mixing http and https?

thanks to some help from someone on the slack couchdb chat channel,
i was able to get https support for couchdb working.

however, i now want to use the same couchdb server on multiple domains on
either https or http, all hosted to the same machine.

i think couchdb supports only one https domain, due to the crypto keys
listed in /opt/couchdb/etc/local.ini,
but it would be really great if somehow i can support multiple https
domains on the same machine for couchdb.

any ideas on how to make this work?

Re: couchdb on multiple domains, mixing http and https?

Posted by ermouth <er...@gmail.com>.
> multiple https
> domains on the same machine for couchdb

Consider using nginx or other web server in front of CouchDB. Very basic
example of nginx config and certbot install you can find  here
https://cloudwall.me/setup_couch#h-15vwa7rs.

ermouth