summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-20 13:39:31 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-20 13:39:31 +0200
commit967158c17212f10a803c07c5e8e8587a07286b5f (patch)
treef1256afba3382496ab98351a529cafe0dffeb058
parentFix host nginx (diff)
downloadRory-Open-Architecture-967158c17212f10a803c07c5e8e8587a07286b5f.tar.xz
Fix host nginx
-rwxr-xr-xhost/Rory-nginx/services/containers/matrixunittests/services/conduit.nix2
-rwxr-xr-xhost/Rory-nginx/services/containers/matrixunittests/services/nginx.nix6
-rwxr-xr-xhost/Rory-nginx/services/nginx/nginx.nix2
-rwxr-xr-xhost/Rory-nginx/services/nginx/rory.gay/matrixunittests.nix (renamed from host/Rory-nginx/services/nginx/rory.gay/matrix_unit_tests.nix)0
4 files changed, 5 insertions, 5 deletions
diff --git a/host/Rory-nginx/services/containers/matrixunittests/services/conduit.nix b/host/Rory-nginx/services/containers/matrixunittests/services/conduit.nix
index 5d41bc7..e4835d8 100755
--- a/host/Rory-nginx/services/containers/matrixunittests/services/conduit.nix
+++ b/host/Rory-nginx/services/containers/matrixunittests/services/conduit.nix
@@ -6,7 +6,7 @@
     enable = true;
     settings.global = {
       address = "127.0.0.1";
-      server_name = "matrix_unit_tests.rory.gay";
+      server_name = "matrixunittestss.rory.gay";
       database_backend = "rocksdb";
       enable_lightning_bolt = true;
       max_concurrent_requests = 1000;
diff --git a/host/Rory-nginx/services/containers/matrixunittests/services/nginx.nix b/host/Rory-nginx/services/containers/matrixunittests/services/nginx.nix
index 9daaa8a..1fd0e8a 100755
--- a/host/Rory-nginx/services/containers/matrixunittests/services/nginx.nix
+++ b/host/Rory-nginx/services/containers/matrixunittests/services/nginx.nix
@@ -26,7 +26,7 @@
         moreheaders
       ];
       virtualHosts = {
-        "matrix_unit_tests.rory.gay" = {
+        "matrixunittests.rory.gay" = {
           locations."/" = {
             proxyPass = "http://127.0.0.1:6167"; 
             extraConfig = ''
@@ -51,14 +51,14 @@
             more_set_headers 'Content-Type application/json';
             more_set_headers 'Access-Control-Allow-Origin *';
             return 200 '${builtins.toJSON {
-              "m.server" = "matrix_unit_tests.rory.gay:443";
+              "m.server" = "matrixunittestss.rory.gay:443";
             }}';
           ''; 
           locations."= /.well-known/matrix/client".extraConfig = ''
             more_set_headers 'Content-Type application/json';
             more_set_headers 'Access-Control-Allow-Origin *';
             return 200 '${builtins.toJSON {
-              "m.homeserver".base_url = "https://matrix_unit_tests.rory.gay";
+              "m.homeserver".base_url = "https://matrixunittestss.rory.gay";
             }
             }';
           ''; 
diff --git a/host/Rory-nginx/services/nginx/nginx.nix b/host/Rory-nginx/services/nginx/nginx.nix
index 87999f1..ac1f29b 100755
--- a/host/Rory-nginx/services/nginx/nginx.nix
+++ b/host/Rory-nginx/services/nginx/nginx.nix
@@ -53,7 +53,7 @@
         "conduit.rory.gay" = import ./rory.gay/conduit.nix;
         "matrix.rory.gay" = import ./rory.gay/matrix.nix;
         "pcpoc.rory.gay" = import ./rory.gay/pcpoc.nix;
-        "matrix_unit_tests.rory.gay" = import ./rory.gay/matrix_unit_tests.nix;
+        "matrixunittests.rory.gay" = import ./rory.gay/matrixunittests.nix;
         "mru.rory.gay" = import ./rory.gay/mru.nix;
 
         #bots...
diff --git a/host/Rory-nginx/services/nginx/rory.gay/matrix_unit_tests.nix b/host/Rory-nginx/services/nginx/rory.gay/matrixunittests.nix
index 65a2c6c..65a2c6c 100755
--- a/host/Rory-nginx/services/nginx/rory.gay/matrix_unit_tests.nix
+++ b/host/Rory-nginx/services/nginx/rory.gay/matrixunittests.nix