Skip to content

Allow connections over Unix Sockets #52

Description

@Columbus240

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.

Activity

  1. nero120 commented on Oct 16, 2020

    @nero120
    Member

    @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 👌!

  2. Columbus240 commented on Nov 17, 2020

    @Columbus240
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions