1
0
mirror of https://github.com/ArcticFoxes-net/Signal-TLS-Proxy synced 2024-12-21 16:11:33 -05:00

Add two new domain names for the signal service

The two new domains are:
* chat.signal.org
* ud-chat.signal.org

Change the relay destination to chat.signal.org as the preferred
domain for reaching the signal service.
This commit is contained in:
Ehren Kret 2021-09-07 09:44:17 -05:00
parent 39a97dab72
commit c2198487ba

View File

@ -1,4 +1,3 @@
user nginx;
worker_processes auto;
@ -9,22 +8,24 @@ events {
stream {
map $ssl_preread_server_name $name {
textsecure-service.whispersystems.org signal-service;
storage.signal.org storage-service;
cdn.signal.org signal-cdn;
cdn2.signal.org signal-cdn2;
api.directory.signal.org directory;
contentproxy.signal.org content-proxy;
uptime.signal.org uptime;
api.backup.signal.org backup;
chat.signal.org signal-service;
ud-chat.signal.org signal-service;
textsecure-service.whispersystems.org signal-service;
storage.signal.org storage-service;
cdn.signal.org signal-cdn;
cdn2.signal.org signal-cdn2;
api.directory.signal.org directory;
contentproxy.signal.org content-proxy;
uptime.signal.org uptime;
api.backup.signal.org backup;
sfu.voip.signal.org sfu;
updates.signal.org updates;
updates2.signal.org updates2;
default deny;
default deny;
}
upstream signal-service {
server textsecure-service.whispersystems.org:443;
server chat.signal.org:443;
}
upstream storage-service {
@ -48,7 +49,7 @@ stream {
}
upstream backup {
server api.backup.signal.org:443;
server api.backup.signal.org:443;
}
upstream sfu {
@ -70,7 +71,7 @@ stream {
server {
listen 4433;
proxy_pass $name;
ssl_preread on;
ssl_preread on;
error_log /dev/null;
access_log off;
}