3 ms·
I installed Matrix behind Caddy, so I followed: - The archlinux guide: https://wiki.archlinux.org/index.php/Matrix https://wiki.archlinux.org/index.php/Matrix
by rakoo 7y ago
I installed Matrix behind Caddy, so I followed:
- The archlinux guide: https://wiki.archlinux.org/index.php/Matrix https://wiki.archlinux.org/index.php/Matrix
- The official doc of running it behind a proxy: https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.md https://github.com/matrix-org/synapse/blob/master/docs/rever...
I couldn't really test if it worked as-is, so I needed to install Riot web, still behind a proxy. It was also going to be my client of choice. That's where things got fun:
- Installing the arch package doesn't do anything, it's just a bunch of static files, so you have to know how to serve them after that
- Riot needs to go to your matrix's /.well-known/matrix/client, so you need to redirect it to your synapse server (and the previous redirect is not enough, because the previous redirect only cares about _matrix, not the root level)
- It failed for me because a setting in the synapse config (server_name) wasn't set, so I had to read the code of synapse to understand how this well-known endpoint is served.
All in all it was still doable, but took more manual steps than I expected.