Open hkcomori opened 3 months ago
I want to run CouchDB behind a reverse proxy by listening to the unix domain socket.
[chttpd] bind_address = /path/to/couchdb.sock
or
[chttpd] socket_path = /path/to/couchdb.sock
Then CouchDB will accept requests from /path/to/couchdb.sock.
/path/to/couchdb.sock
This is because I want to run CouchDB on a shared host where I can't have exclusive access to any ports.
Thanks, @hkcomori. That might work, seeing as Erlang supports unix sockets https://www.erlang.org/doc/apps/kernel/inet#t:local_address/0, and assuming mochiweb will transparently pass it through.
Summary
I want to run CouchDB behind a reverse proxy by listening to the unix domain socket.
Desired Behaviour
or
Then CouchDB will accept requests from
/path/to/couchdb.sock
.Possible Solution
Additional context
This is because I want to run CouchDB on a shared host where I can't have exclusive access to any ports.