this post was submitted on 17 Jun 2023
6 points (100.0% liked)

Matrix

3284 readers
1 users here now

An open network for secure, decentralized communication

founded 4 years ago
MODERATORS
 

Hi, I have no IPv4 from my ISP, so I host everything through Cloudflare Tunnel. I recently tried matrix-docker-ansible-deploy and got it to work, but I couldn’t get calling and federation to work over Tunnel. Is there any way to do this?

top 5 comments
sorted by: hot top controversial new old
[–] Ginko@sh.itjust.works 1 points 1 year ago (1 children)

I have the same problem. Has anyone found a solution?

[–] beigeoat@lemmy.zip 1 points 1 year ago* (last edited 1 year ago) (1 children)

You need to set the following in your homeserver.yaml :

serve_server_wellknown: true

read more here: https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#serve_server_wellknown

Also remember to restart your container.

[–] Ginko@sh.itjust.works 1 points 1 year ago (2 children)

Thanks for the reply. In the end I had to solve it by hosting the .well-known files on the main domain using Cloudflare Pages. I didn't want the subdomain in the server name.

[–] Ginko@sh.itjust.works 1 points 1 year ago

I found lots of useful information here: https://appelman.se/matrix-on-cloudflare/

[–] beigeoat@lemmy.zip 1 points 1 year ago* (last edited 1 year ago)

I'm not sure if that is the best/correct way to do it.

What you should have probably done is use the server_name property to point to your Apex/Main domain.

https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#server_name

I highly recommend that you to go through the documentation throughly atleast once, especially if you will be hosting the server for a long period of time.

Edit:

If you followed the cloudfare guide you linked below, it should probably be fine. Still do go through the documentation.

load more comments
view more: next ›