From c2198487ba6712992929cae9b5d79ce656b65772 Mon Sep 17 00:00:00 2001 From: Ehren Kret Date: Tue, 7 Sep 2021 09:44:17 -0500 Subject: [PATCH] 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. --- data/nginx-relay/nginx.conf | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/data/nginx-relay/nginx.conf b/data/nginx-relay/nginx.conf index c8fdc19..400120b 100644 --- a/data/nginx-relay/nginx.conf +++ b/data/nginx-relay/nginx.conf @@ -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; }