appstore-1panel/apps/synapse
Meng Sen 0555c9b2a6 应用标准化
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
2024-11-27 18:26:48 +08:00
..
1.120.0 应用标准化 2024-11-27 18:26:48 +08:00
data.yml 发布应用 Synapse 2024-10-30 16:16:27 +08:00
logo.png 发布应用 Element Web 2024-10-31 12:52:36 +08:00
README.md 发布应用 Element Web 2024-10-31 12:52:36 +08:00

Synapse

Synapse 是一个开源的 Matrix 家庭服务器实现,由 Element 开发和维护。Matrix 是安全且可互操作实时通信的开放标准。

Synapse

安装说明

⚠️
配置初始化
该应用需要生成前置配置文件,如果首次生成失败,请删除持久化目录重试

快捷命令

查看帮助

register_new_matrix_user http://localhost:8008 -c /data/homeserver.yaml --help

生成管理员用户

请替换以下参数

adminName: 管理员用户名

password: 管理员密码

register_new_matrix_user http://localhost:8008 -c /data/homeserver.yaml -u adminName -p password -a

生成普通用户

请替换以下参数

userName: 用户名

password: 密码

register_new_matrix_user http://localhost:8008 -c /data/homeserver.yaml -u userName -p password

反向代理

Nginx

    location ~ ^(/_matrix|/_synapse/client) {
        # note: do not add a path (even a single /) after the port in `proxy_pass`,
        # otherwise nginx will canonicalise the URI and cause signature verification
        # errors.
        proxy_pass http://localhost:8008;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header Host $host;
    
        # Nginx by default only allows file uploads up to 1M in size
        # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
        client_max_body_size 50M;
    
        # Synapse responses may be chunked, which is an HTTP/1.1 feature.
        proxy_http_version 1.1;
    }

移动客户端

Download on the App Store Get it on Google Play Get it on F-Droid


Ms Studio