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

Allow connections over Unix Sockets #52

Open
Columbus240 opened this issue Oct 14, 2020 · 2 comments
Open

Allow connections over Unix Sockets #52

Columbus240 opened this issue Oct 14, 2020 · 2 comments

Comments

@Columbus240
Copy link

Columbus240 commented Oct 14, 2020

I’m trying to self-host xbrowsersync, and except the following nitpick it worked without problems.
I wanted to connect xbrowsersync using Unix Sockets to mongodb and to the reverse-proxy (nginx).

Since this approach isn’t documented, and I didn’t look at the code, I don’t know how to do it.

I tried setting the config option db.host to /var/run/mongodb/mongodb-PID.socket but that didn’t work.
I didn’t try setting server.host to some path.

This isn’t very important to me, but it would be a nice addition if it were possible to connect xbrowsersync to unix sockets and if the necessary configuration were documented.

By the way, thanks for your work.

Edit: Just to make clear: I now have xbrowsersync talking over one port with nginx and talking over some other port with mongodb.

@nero120
Copy link
Member

nero120 commented Oct 16, 2020

@Columbus240 I have no capacity to do this unfortunately. However if you'd like to submit a pull request if you figure it out that would be 👌!

@Columbus240
Copy link
Author

Oops, I pushed the wrong buttons.

No problem. Maybe I or somebody else will do it someday.

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

2 participants