Signal增加专用Proxy
date
Feb 4, 2022
slug
signal-proxy
status
Published
summary
类似mtproto 当时难用多了
tags
私密通信
type
Post
URL
参考如下 - 但一堆问题
- ‣
解决方案
apt update && apt install -y docker docker-compose git
git clone https://github.com/signalapp/Signal-TLS-Proxy.git
cd Signal-TLS-Proxy
# 原先准备一个域名,指向
sudo ./init-certificate.sh
# 以下才是重点
signal_domain="virbu768m1xxxxx.yy.zz"
cd data/certbot/conf/
unlink active
ln -s ../conf/live/$signal_domain active
cd ../../../
vi docker-compose.yml
# 添加几行映射
- ./data/certbot/conf/active:/etc/letsencrypt/active
- ./data/certbot/conf/active/fullchain.pem:/etc/letsencrypt/active/fullchain.pem
- ./data/certbot/conf/active/privkey.pem:/etc/letsencrypt/active/privkey.pem
# 用这个试一下
docker-compose up
# 如果没有错误,再用
docker-compose up --detach