1
0
mirror of https://github.com/ArcticFoxes-net/Signal-TLS-Proxy synced 2024-12-22 00:21:32 -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; user nginx;
worker_processes auto; worker_processes auto;
@ -9,22 +8,24 @@ events {
stream { stream {
map $ssl_preread_server_name $name { map $ssl_preread_server_name $name {
textsecure-service.whispersystems.org signal-service; chat.signal.org signal-service;
storage.signal.org storage-service; ud-chat.signal.org signal-service;
cdn.signal.org signal-cdn; textsecure-service.whispersystems.org signal-service;
cdn2.signal.org signal-cdn2; storage.signal.org storage-service;
api.directory.signal.org directory; cdn.signal.org signal-cdn;
contentproxy.signal.org content-proxy; cdn2.signal.org signal-cdn2;
uptime.signal.org uptime; api.directory.signal.org directory;
api.backup.signal.org backup; contentproxy.signal.org content-proxy;
uptime.signal.org uptime;
api.backup.signal.org backup;
sfu.voip.signal.org sfu; sfu.voip.signal.org sfu;
updates.signal.org updates; updates.signal.org updates;
updates2.signal.org updates2; updates2.signal.org updates2;
default deny; default deny;
} }
upstream signal-service { upstream signal-service {
server textsecure-service.whispersystems.org:443; server chat.signal.org:443;
} }
upstream storage-service { upstream storage-service {
@ -48,7 +49,7 @@ stream {
} }
upstream backup { upstream backup {
server api.backup.signal.org:443; server api.backup.signal.org:443;
} }
upstream sfu { upstream sfu {
@ -70,7 +71,7 @@ stream {
server { server {
listen 4433; listen 4433;
proxy_pass $name; proxy_pass $name;
ssl_preread on; ssl_preread on;
error_log /dev/null; error_log /dev/null;
access_log off; access_log off;
} }