summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-20 13:32:37 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-20 13:32:37 +0200
commit19632e0fa00d416b8ae7356e0b9a0806b62fe10d (patch)
tree3b7cefa35dbe31530a794ee9727605fed4269545
parentRename container (diff)
downloadRory-Open-Architecture-19632e0fa00d416b8ae7356e0b9a0806b62fe10d.tar.xz
Fix host nginx
-rwxr-xr-xhost/Rory-nginx/services/nginx/nginx.nix11
-rwxr-xr-xhost/Rory-nginx/services/nginx/rory.gay/matrix_unit_tests.nix15
2 files changed, 22 insertions, 4 deletions
diff --git a/host/Rory-nginx/services/nginx/nginx.nix b/host/Rory-nginx/services/nginx/nginx.nix
index 2b9326d..87999f1 100755
--- a/host/Rory-nginx/services/nginx/nginx.nix
+++ b/host/Rory-nginx/services/nginx/nginx.nix
@@ -42,17 +42,20 @@
         "vives.thearcanebrony.net" = import ./thearcanebrony.net/vives.nix;
         "rory.gay" = import ./rory.gay/root.nix;
         "rory.boo" = import ./rory.gay/root.nix;
-        "conduit.rory.gay" = import ./rory.gay/conduit.nix;
         "lfs.rory.gay" = import ./rory.gay/lfs.nix;
         "git.rory.gay" = import ./rory.gay/git.nix;
-        "matrix.rory.gay" = import ./rory.gay/matrix.nix;
-        "pcpoc.rory.gay" = import ./rory.gay/pcpoc.nix;
-        "mru.rory.gay" = import ./rory.gay/mru.nix;
         "tunnel.rory.boo" = import ./rory.boo/tunnel.nix;
         "boorunav.com" = import ./boorunav.com/root.nix;
         "catgirlsaresexy.com" = import ./catgirlsaresexy.com/root.nix;
         "sugarcanemc.org" = import ./sugarcanemc.org/root.nix;
 
+        #matrix...
+        "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;
+        "mru.rory.gay" = import ./rory.gay/mru.nix;
+
         #bots...
         "0bottests.bots.rory.gay" = import ./rory.gay/bots.nix;
         "catnipbot.bots.rory.gay" = import ./rory.gay/bots.nix;
diff --git a/host/Rory-nginx/services/nginx/rory.gay/matrix_unit_tests.nix b/host/Rory-nginx/services/nginx/rory.gay/matrix_unit_tests.nix
new file mode 100755
index 0000000..65a2c6c
--- /dev/null
+++ b/host/Rory-nginx/services/nginx/rory.gay/matrix_unit_tests.nix
@@ -0,0 +1,15 @@
+{
+  enableACME = true;
+  addSSL = true;
+  http3 = true;
+  http3_hq = true;
+  kTLS = true;
+  extraConfig = ''
+    brotli off;
+    '';
+  locations = {
+    "/" = {
+      proxyPass = "http://192.168.100.13:80";
+    };
+  };
+}
\ No newline at end of file