Matrix Additional configuration
Sliding Sync
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3056
Client File
{ "m.homeserver": { "base_url": "https://matrix.irregularchat.com" }, "m.identity_server": { "base_url": "https://vector.im" }, "im.vector.riot.jitsi": { "preferredDomain": "jitsi.irregularchat.com" }, "io.element.jitsi": { "preferredDomain": "jitsi.irregularchat.com" }, "m.integrations": { "managers": [ { "api_url": "https://dimension.irregularchat.com/api/v1/scalar", "ui_url": "https://dimension.irregularchat.com/element" } ] }, "org.matrix.msc3575.proxy": { "url": "https://sync-matrix.irregularchat.com" } }
Vars Config
# Sliding Sync Configuration = Enables the Sliding Sync proxy = matrix_sliding_sync_enabled: true = # Maps a port on the host, passed into the Sliding Sync container's internal listening port. MUST be set as by default the container has no host bindings and thus can never be reached from outside the internal docker network. Not even locally. I have chosen host port 8018 so that it's well out of the way = matrix_sliding_sync_container_extra_arguments: - "-p 8018:8008" = Sets the server URL the server tells clients to try to connect to it with. This should be your https://matrix.yourdomain.com URL, including the "https://". MUST be set as for some reason the default tells clients to use an internal docker hostname, namely matrix-nginx-proxy container which obviously won't work externally and caused 404's in the sliding sync logs. = matrix_sliding_sync_environment_variable_syncv3_server: "https://matrix.irregularchat.com"