this post was submitted on 24 Jul 2023
16 points (100.0% liked)

Selfhosted

61236 readers
300 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hi all,

I want to host my own matrix server, so that i can run bridges to all the other (stupid) messaging apps.

I am looking for any advice or experience in choosing which server to run, and if you know of any good tutorials, run throughs, etc. i typically would like a lighter instance, as i expect about 3 users, with 2 of us needing bridging.

  • dendrite
  • synapse
  • conduit
  • construct

and then the addition of bridges, (Signal, WA, Messenger and hopefully SMS).

I am fairly self sufficient when it comes to self hosting, and i run everything on linux, in docker, proxied by Nginx proxy manager. but typically prefer stuff that works more or less out of the box.

Thanks all!

you are viewing a single comment's thread
view the rest of the comments
[–] palitu@lemmy.perthchat.org 1 points 3 years ago (1 children)

I have the container up, but now some issues with ports. I can connect with element in the browser, but the app is having issues.

What did you do with proxying? I was told I need to port forward 8448, but that doesn't seem right.

I'm using nginx proxy manager, default settings, and LE certs.

[–] quirq@lemmy.nz 1 points 3 years ago (1 children)

You can use whatever port if you’re proxying it to 8448 (assuming the container host is listening on that port which it would be by default).

If you use matrix.example.com and proxy port 443 to 8448 then it should work as your user would be @user:matrix.example.com.

You would need to portforward from outside your network if you want to access it and have it talk to other servers as they all need to communicate with your server.

Personally I wanted matrix to show my user as @user:example.com at my actual domain not as a matrix subdomain, so I had to setup the .well-known/server type http path to tell it my server is actually at matrix.example.com.

[–] palitu@lemmy.perthchat.org 2 points 3 years ago

yep, i have my sub-domain proxying to the host :8448, and i can use it locally. however the android element app is not able to connect, but the browser element can.

it is a dilly of a pickle, and i am not sure what is missing.

the docs at https://gitlab.com/famedly/conduit/-/blob/next/DEPLOY.md tell me to curl directly to port 8448.... oh, dumbass! just typing this out i saw that it was an if not an and port 8448.... never mind! i iwll post this to indicate my stupidity and hopefully figure out what i am doing wrong!

$ curl https://your.server.name/_matrix/client/versions

# If using port 8448
$ curl https://your.server.name:8448/_matrix/client/versions