Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unix domain socket support #5177

Open
hkcomori opened this issue Aug 15, 2024 · 1 comment
Open

Unix domain socket support #5177

hkcomori opened this issue Aug 15, 2024 · 1 comment

Comments

@hkcomori
Copy link

Summary

I want to run CouchDB behind a reverse proxy by listening to the unix domain socket.

Desired Behaviour

[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.

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.

@nickva
Copy link
Contributor

nickva commented Aug 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants