mirror of
https://github.com/ArcticFoxes-net/Signal-TLS-Proxy
synced 2025-01-21 21:42:05 -05:00
Merge branch 'main' into patch-2
This commit is contained in:
commit
169fe989cc
12
README.md
12
README.md
@ -1,6 +1,6 @@
|
|||||||
# Signal TLS Proxy
|
# Signal TLS Proxy
|
||||||
|
|
||||||
To run a Signal TLS proxy, you will need a host with a domain name that has ports 80 and 443 available.
|
To run a Signal TLS proxy, you will need a host that has ports 80 and 443 available and a domain name that points to that host.
|
||||||
|
|
||||||
1. Install docker and docker-compose (`apt update && apt install docker docker-compose`)
|
1. Install docker and docker-compose (`apt update && apt install docker docker-compose`)
|
||||||
1. Ensure your current user has access to docker (`adduser $USER docker`)
|
1. Ensure your current user has access to docker (`adduser $USER docker`)
|
||||||
@ -9,3 +9,13 @@ To run a Signal TLS proxy, you will need a host with a domain name that has port
|
|||||||
1. `docker-compose up --detach`
|
1. `docker-compose up --detach`
|
||||||
|
|
||||||
Your proxy is now running! You can share this with the URL `https://signal.tube/#<your_host_name>`
|
Your proxy is now running! You can share this with the URL `https://signal.tube/#<your_host_name>`
|
||||||
|
|
||||||
|
## Updating from a previous version
|
||||||
|
|
||||||
|
If you've previously run a proxy, please update to the most recent version by pulling the most recent changes from `main`, then restarting your Docker containers:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git pull
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up --detach
|
||||||
|
```
|
||||||
|
@ -15,6 +15,7 @@ stream {
|
|||||||
cdn.signal.org signal-cdn;
|
cdn.signal.org signal-cdn;
|
||||||
cdn2.signal.org signal-cdn2;
|
cdn2.signal.org signal-cdn2;
|
||||||
api.directory.signal.org directory;
|
api.directory.signal.org directory;
|
||||||
|
cdsi.signal.org cdsi;
|
||||||
contentproxy.signal.org content-proxy;
|
contentproxy.signal.org content-proxy;
|
||||||
uptime.signal.org uptime;
|
uptime.signal.org uptime;
|
||||||
api.backup.signal.org backup;
|
api.backup.signal.org backup;
|
||||||
@ -44,6 +45,10 @@ stream {
|
|||||||
server api.directory.signal.org:443;
|
server api.directory.signal.org:443;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
upstream cdsi {
|
||||||
|
server cdsi.signal.org:443;
|
||||||
|
}
|
||||||
|
|
||||||
upstream content-proxy {
|
upstream content-proxy {
|
||||||
server contentproxy.signal.org:443;
|
server contentproxy.signal.org:443;
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,11 @@ http {
|
|||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
location /.well-known/acme-challenge/ {
|
location /.well-known/acme-challenge/ {
|
||||||
root /var/www/certbot;
|
alias /var/www/certbot/;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
return 404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,7 @@ services:
|
|||||||
- ./data/certbot/www:/var/www/certbot:Z
|
- ./data/certbot/www:/var/www/certbot:Z
|
||||||
ports:
|
ports:
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
- "80:80"
|
||||||
nginx-relay:
|
nginx-relay:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user