summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-25 06:51:12 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-25 06:51:12 +0200
commitb1be6a380fbeb8e928337ee63999fecccad306c9 (patch)
tree7860b84d307a0c255c5828c61b93f8e122d3400d
parentfix ip for bots (diff)
downloadRory-Open-Architecture-b1be6a380fbeb8e928337ee63999fecccad306c9.tar.xz
Move synapse
-rw-r--r--host/Rory-nginx/matrix/upstreams.nix16
-rwxr-xr-xhost/Rory-synapse/software.nix2
2 files changed, 9 insertions, 9 deletions
diff --git a/host/Rory-nginx/matrix/upstreams.nix b/host/Rory-nginx/matrix/upstreams.nix
index c7a1efd..6ba45af 100644
--- a/host/Rory-nginx/matrix/upstreams.nix
+++ b/host/Rory-nginx/matrix/upstreams.nix
@@ -1,26 +1,26 @@
 {
   generic_workers_upstream.servers = {
-    "192.168.1.5:8008" = { };
+    "127.0.0.1:8008" = { };
   };
   stream_writer_typing_stream_workers_upstream.servers = {
-    "192.168.1.5:8008" = { };
+    "127.0.0.1:8008" = { };
   };
   stream_writer_to_device_stream_workers_upstream.servers = {
-    "192.168.1.5:8008" = { };
+    "127.0.0.1:8008" = { };
   };
   stream_writer_account_data_stream_workers_upstream.servers = {
-    "192.168.1.5:8008" = { };
+    "127.0.0.1:8008" = { };
   };
   stream_writer_receipts_stream_workers_upstream.servers = {
-    "192.168.1.5:8008" = { };
+    "127.0.0.1:8008" = { };
   };
   stream_writer_presence_stream_workers_upstream.servers = {
-    "192.168.1.5:8008" = { };
+    "127.0.0.1:8008" = { };
   };
   media_repository_workers_upstream.servers = {
-    "192.168.1.5:8008" = { };
+    "127.0.0.1:8008" = { };
   };
   user_dir_workers_upstream.servers = {
-    "192.168.1.5:8008" = { };
+    "127.0.0.1:8008" = { };
   };
 }
\ No newline at end of file
diff --git a/host/Rory-synapse/software.nix b/host/Rory-synapse/software.nix
index 87e2788..81b7e5c 100755
--- a/host/Rory-synapse/software.nix
+++ b/host/Rory-synapse/software.nix
@@ -91,7 +91,7 @@
       listeners = [
         { 
           port = 8008;
-          bind_addresses = [ "192.168.1.5" "127.0.0.1" ];
+          bind_addresses = [ "192.168.1.2" "127.0.0.1" ];
           type = "http";
           tls = false;
           x_forwarded = true;