7
How to self host behind Cloudflare Tunnel
(feddit.de)
An open network for secure, decentralized communication
I have the same problem. Has anyone found a solution?
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.
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.
I found lots of useful information here: https://appelman.se/matrix-on-cloudflare/